3 <html lang=
"en" class=
"no-js">
7 <meta name=
"viewport" content=
"width=device-width,initial-scale=1">
12 <link rel=
"canonical" href=
"https://docs.woltlab.com/5.4/php/api/form_builder/overview/">
14 <link rel=
"icon" href=
"../../../../assets/default.favicon.ico">
15 <meta name=
"generator" content=
"mkdocs-1.1.2, mkdocs-material-7.1.2">
19 <title>Overview - WoltLab Suite Documentation
</title>
23 <link rel=
"stylesheet" href=
"../../../../assets/stylesheets/main.6f955dcd.min.css">
26 <link rel=
"stylesheet" href=
"../../../../assets/stylesheets/palette.ef6f36e2.min.css">
30 <meta name=
"theme-color" content=
"#009485">
40 <link rel=
"stylesheet" href=
"../../../../stylesheets/extra.css">
54 <body dir=
"ltr" data-md-color-scheme=
"" data-md-color-primary=
"teal" data-md-color-accent=
"">
57 <script>function __prefix(e){return new URL(
"../../../..",location).pathname+
"."+e}function __get(e,t=localStorage){return JSON.parse(t.getItem(__prefix(e)))}
</script>
59 <input class=
"md-toggle" data-md-toggle=
"drawer" type=
"checkbox" id=
"__drawer" autocomplete=
"off">
60 <input class=
"md-toggle" data-md-toggle=
"search" type=
"checkbox" id=
"__search" autocomplete=
"off">
61 <label class=
"md-overlay" for=
"__drawer"></label>
62 <div data-md-component=
"skip">
65 <a href=
"#form-builder" class=
"md-skip">
70 <div data-md-component=
"announce">
72 <aside class=
"md-announce">
73 <div class=
"md-announce__inner md-grid md-typeset">
75 <a href=
"https://www.woltlab.com">Back to
<strong>woltlab.com
</strong></a>
82 <header class=
"md-header" data-md-component=
"header">
83 <nav class=
"md-header__inner md-grid" aria-label=
"Header">
84 <a href=
"../../../.." title=
"WoltLab Suite Documentation" class=
"md-header__button md-logo" aria-label=
"WoltLab Suite Documentation" data-md-component=
"logo">
86 <img src=
"../../../../assets/logo.png" alt=
"logo">
89 <label class=
"md-header__button md-icon" for=
"__drawer">
90 <svg xmlns=
"http://www.w3.org/2000/svg" viewBox=
"0 0 24 24"><path d=
"M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2z"/></svg>
92 <div class=
"md-header__title" data-md-component=
"header-title">
93 <div class=
"md-header__ellipsis">
94 <div class=
"md-header__topic">
95 <span class=
"md-ellipsis">
96 WoltLab Suite Documentation
99 <div class=
"md-header__topic" data-md-component=
"header-topic">
100 <span class=
"md-ellipsis">
111 <label class=
"md-header__button md-icon" for=
"__search">
112 <svg xmlns=
"http://www.w3.org/2000/svg" viewBox=
"0 0 24 24"><path d=
"M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
115 <div class=
"md-search" data-md-component=
"search" role=
"dialog">
116 <label class=
"md-search__overlay" for=
"__search"></label>
117 <div class=
"md-search__inner" role=
"search">
118 <form class=
"md-search__form" name=
"search">
119 <input type=
"text" class=
"md-search__input" name=
"query" aria-label=
"Search" placeholder=
"Search" autocapitalize=
"off" autocorrect=
"off" autocomplete=
"off" spellcheck=
"false" data-md-component=
"search-query" data-md-state=
"active" required
>
120 <label class=
"md-search__icon md-icon" for=
"__search">
121 <svg xmlns=
"http://www.w3.org/2000/svg" viewBox=
"0 0 24 24"><path d=
"M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
122 <svg xmlns=
"http://www.w3.org/2000/svg" viewBox=
"0 0 24 24"><path d=
"M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
124 <button type=
"reset" class=
"md-search__icon md-icon" aria-label=
"Clear" tabindex=
"-1">
125 <svg xmlns=
"http://www.w3.org/2000/svg" viewBox=
"0 0 24 24"><path d=
"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
128 <div class=
"md-search__output">
129 <div class=
"md-search__scrollwrap" data-md-scrollfix
>
130 <div class=
"md-search-result" data-md-component=
"search-result">
131 <div class=
"md-search-result__meta">
134 <ol class=
"md-search-result__list"></ol>
142 <div class=
"md-header__source">
144 <a href=
"https://github.com/WoltLab/docs.woltlab.com/" title=
"Go to repository" class=
"md-source" data-md-component=
"source">
145 <div class=
"md-source__icon md-icon">
147 <svg xmlns=
"http://www.w3.org/2000/svg" viewBox=
"0 0 448 512"><path d=
"M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
149 <div class=
"md-source__repository">
158 <div class=
"md-container" data-md-component=
"container">
163 <main class=
"md-main" data-md-component=
"main">
164 <div class=
"md-main__inner md-grid">
168 <div class=
"md-sidebar md-sidebar--primary" data-md-component=
"sidebar" data-md-type=
"navigation" >
169 <div class=
"md-sidebar__scrollwrap">
170 <div class=
"md-sidebar__inner">
174 <nav class=
"md-nav md-nav--primary" aria-label=
"Navigation" data-md-level=
"0">
175 <label class=
"md-nav__title" for=
"__drawer">
176 <a href=
"../../../.." title=
"WoltLab Suite Documentation" class=
"md-nav__button md-logo" aria-label=
"WoltLab Suite Documentation" data-md-component=
"logo">
178 <img src=
"../../../../assets/logo.png" alt=
"logo">
181 WoltLab Suite Documentation
184 <div class=
"md-nav__source">
186 <a href=
"https://github.com/WoltLab/docs.woltlab.com/" title=
"Go to repository" class=
"md-source" data-md-component=
"source">
187 <div class=
"md-source__icon md-icon">
189 <svg xmlns=
"http://www.w3.org/2000/svg" viewBox=
"0 0 448 512"><path d=
"M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
191 <div class=
"md-source__repository">
197 <ul class=
"md-nav__list" data-md-scrollfix
>
206 <li class=
"md-nav__item">
207 <a href=
"../../../../getting-started/" class=
"md-nav__link">
224 <li class=
"md-nav__item md-nav__item--active md-nav__item--nested">
227 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_2" type=
"checkbox" id=
"__nav_2" checked
>
229 <label class=
"md-nav__link" for=
"__nav_2">
231 <span class=
"md-nav__icon md-icon"></span>
233 <nav class=
"md-nav" aria-label=
"PHP API" data-md-level=
"1">
234 <label class=
"md-nav__title" for=
"__nav_2">
235 <span class=
"md-nav__icon md-icon"></span>
238 <ul class=
"md-nav__list" data-md-scrollfix
>
244 <li class=
"md-nav__item">
245 <a href=
"../../../pages/" class=
"md-nav__link">
256 <li class=
"md-nav__item">
257 <a href=
"../../../database-objects/" class=
"md-nav__link">
268 <li class=
"md-nav__item">
269 <a href=
"../../../database-access/" class=
"md-nav__link">
280 <li class=
"md-nav__item">
281 <a href=
"../../../exceptions/" class=
"md-nav__link">
295 <li class=
"md-nav__item md-nav__item--active md-nav__item--nested">
298 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_2_5" type=
"checkbox" id=
"__nav_2_5" checked
>
300 <label class=
"md-nav__link" for=
"__nav_2_5">
302 <span class=
"md-nav__icon md-icon"></span>
304 <nav class=
"md-nav" aria-label=
"API" data-md-level=
"2">
305 <label class=
"md-nav__title" for=
"__nav_2_5">
306 <span class=
"md-nav__icon md-icon"></span>
309 <ul class=
"md-nav__list" data-md-scrollfix
>
316 <li class=
"md-nav__item md-nav__item--nested">
319 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_2_5_1" type=
"checkbox" id=
"__nav_2_5_1" >
321 <label class=
"md-nav__link" for=
"__nav_2_5_1">
323 <span class=
"md-nav__icon md-icon"></span>
325 <nav class=
"md-nav" aria-label=
"Caches" data-md-level=
"3">
326 <label class=
"md-nav__title" for=
"__nav_2_5_1">
327 <span class=
"md-nav__icon md-icon"></span>
330 <ul class=
"md-nav__list" data-md-scrollfix
>
336 <li class=
"md-nav__item">
337 <a href=
"../../caches/" class=
"md-nav__link">
348 <li class=
"md-nav__item">
349 <a href=
"../../caches_persistent-caches/" class=
"md-nav__link">
360 <li class=
"md-nav__item">
361 <a href=
"../../caches_runtime-caches/" class=
"md-nav__link">
378 <li class=
"md-nav__item">
379 <a href=
"../../comments/" class=
"md-nav__link">
390 <li class=
"md-nav__item">
391 <a href=
"../../cronjobs/" class=
"md-nav__link">
402 <li class=
"md-nav__item">
403 <a href=
"../../events/" class=
"md-nav__link">
417 <li class=
"md-nav__item md-nav__item--active md-nav__item--nested">
420 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_2_5_5" type=
"checkbox" id=
"__nav_2_5_5" checked
>
422 <label class=
"md-nav__link" for=
"__nav_2_5_5">
424 <span class=
"md-nav__icon md-icon"></span>
426 <nav class=
"md-nav" aria-label=
"Form Builder" data-md-level=
"3">
427 <label class=
"md-nav__title" for=
"__nav_2_5_5">
428 <span class=
"md-nav__icon md-icon"></span>
431 <ul class=
"md-nav__list" data-md-scrollfix
>
439 <li class=
"md-nav__item md-nav__item--active">
441 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"toc" type=
"checkbox" id=
"__toc">
447 <label class=
"md-nav__link md-nav__link--active" for=
"__toc">
449 <span class=
"md-nav__icon md-icon"></span>
452 <a href=
"./" class=
"md-nav__link md-nav__link--active">
457 <nav class=
"md-nav md-nav--secondary" aria-label=
"Table of contents">
464 <label class=
"md-nav__title" for=
"__toc">
465 <span class=
"md-nav__icon md-icon"></span>
468 <ul class=
"md-nav__list" data-md-component=
"toc" data-md-scrollfix
>
470 <li class=
"md-nav__item">
471 <a href=
"#advantages-of-form-builder" class=
"md-nav__link">
472 Advantages of Form Builder
477 <li class=
"md-nav__item">
478 <a href=
"#form-builder-components" class=
"md-nav__link">
479 Form Builder Components
484 <li class=
"md-nav__item">
485 <a href=
"#abstractformbuilderform" class=
"md-nav__link">
486 AbstractFormBuilderForm
491 <li class=
"md-nav__item">
492 <a href=
"#dialogformdocument" class=
"md-nav__link">
510 <li class=
"md-nav__item">
511 <a href=
"../structure/" class=
"md-nav__link">
522 <li class=
"md-nav__item">
523 <a href=
"../form_fields/" class=
"md-nav__link">
534 <li class=
"md-nav__item">
535 <a href=
"../validation_data/" class=
"md-nav__link">
546 <li class=
"md-nav__item">
547 <a href=
"../dependencies/" class=
"md-nav__link">
564 <li class=
"md-nav__item">
565 <a href=
"../../package_installation_plugins/" class=
"md-nav__link">
566 Package Installation Plugins
576 <li class=
"md-nav__item">
577 <a href=
"../../user_activity_points/" class=
"md-nav__link">
588 <li class=
"md-nav__item">
589 <a href=
"../../user_notifications/" class=
"md-nav__link">
600 <li class=
"md-nav__item">
601 <a href=
"../../sitemaps/" class=
"md-nav__link">
618 <li class=
"md-nav__item">
619 <a href=
"../../../code-style/" class=
"md-nav__link">
630 <li class=
"md-nav__item">
631 <a href=
"../../../apps/" class=
"md-nav__link">
642 <li class=
"md-nav__item">
643 <a href=
"../../../gdpr/" class=
"md-nav__link">
664 <li class=
"md-nav__item md-nav__item--nested">
667 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_3" type=
"checkbox" id=
"__nav_3" >
669 <label class=
"md-nav__link" for=
"__nav_3">
670 Languages, Templates & CSS
671 <span class=
"md-nav__icon md-icon"></span>
673 <nav class=
"md-nav" aria-label=
"Languages, Templates & CSS" data-md-level=
"1">
674 <label class=
"md-nav__title" for=
"__nav_3">
675 <span class=
"md-nav__icon md-icon"></span>
676 Languages, Templates & CSS
678 <ul class=
"md-nav__list" data-md-scrollfix
>
684 <li class=
"md-nav__item">
685 <a href=
"../../../../view/languages/" class=
"md-nav__link">
696 <li class=
"md-nav__item">
697 <a href=
"../../../../view/templates/" class=
"md-nav__link">
708 <li class=
"md-nav__item">
709 <a href=
"../../../../view/template-plugins/" class=
"md-nav__link">
720 <li class=
"md-nav__item">
721 <a href=
"../../../../view/css/" class=
"md-nav__link">
742 <li class=
"md-nav__item md-nav__item--nested">
745 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_4" type=
"checkbox" id=
"__nav_4" >
747 <label class=
"md-nav__link" for=
"__nav_4">
748 TypeScript and JavaScript API
749 <span class=
"md-nav__icon md-icon"></span>
751 <nav class=
"md-nav" aria-label=
"TypeScript and JavaScript API" data-md-level=
"1">
752 <label class=
"md-nav__title" for=
"__nav_4">
753 <span class=
"md-nav__icon md-icon"></span>
754 TypeScript and JavaScript API
756 <ul class=
"md-nav__list" data-md-scrollfix
>
762 <li class=
"md-nav__item">
763 <a href=
"../../../../javascript/general-usage/" class=
"md-nav__link">
774 <li class=
"md-nav__item">
775 <a href=
"../../../../javascript/typescript/" class=
"md-nav__link">
787 <li class=
"md-nav__item md-nav__item--nested">
790 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_4_3" type=
"checkbox" id=
"__nav_4_3" >
792 <label class=
"md-nav__link" for=
"__nav_4_3">
794 <span class=
"md-nav__icon md-icon"></span>
796 <nav class=
"md-nav" aria-label=
"New API" data-md-level=
"2">
797 <label class=
"md-nav__title" for=
"__nav_4_3">
798 <span class=
"md-nav__icon md-icon"></span>
801 <ul class=
"md-nav__list" data-md-scrollfix
>
807 <li class=
"md-nav__item">
808 <a href=
"../../../../javascript/new-api_writing-a-module/" class=
"md-nav__link">
819 <li class=
"md-nav__item">
820 <a href=
"../../../../javascript/new-api_data-structures/" class=
"md-nav__link">
831 <li class=
"md-nav__item">
832 <a href=
"../../../../javascript/new-api_core/" class=
"md-nav__link">
843 <li class=
"md-nav__item">
844 <a href=
"../../../../javascript/new-api_dom/" class=
"md-nav__link">
855 <li class=
"md-nav__item">
856 <a href=
"../../../../javascript/new-api_events/" class=
"md-nav__link">
867 <li class=
"md-nav__item">
868 <a href=
"../../../../javascript/new-api_ajax/" class=
"md-nav__link">
879 <li class=
"md-nav__item">
880 <a href=
"../../../../javascript/new-api_dialogs/" class=
"md-nav__link">
891 <li class=
"md-nav__item">
892 <a href=
"../../../../javascript/new-api_browser/" class=
"md-nav__link">
893 Browser and Screen Sizes
903 <li class=
"md-nav__item">
904 <a href=
"../../../../javascript/new-api_ui/" class=
"md-nav__link">
921 <li class=
"md-nav__item">
922 <a href=
"../../../../javascript/legacy-api/" class=
"md-nav__link">
933 <li class=
"md-nav__item">
934 <a href=
"../../../../javascript/helper-functions/" class=
"md-nav__link">
945 <li class=
"md-nav__item">
946 <a href=
"../../../../javascript/code-snippets/" class=
"md-nav__link">
967 <li class=
"md-nav__item md-nav__item--nested">
970 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_5" type=
"checkbox" id=
"__nav_5" >
972 <label class=
"md-nav__link" for=
"__nav_5">
974 <span class=
"md-nav__icon md-icon"></span>
976 <nav class=
"md-nav" aria-label=
"Package Components" data-md-level=
"1">
977 <label class=
"md-nav__title" for=
"__nav_5">
978 <span class=
"md-nav__icon md-icon"></span>
981 <ul class=
"md-nav__list" data-md-scrollfix
>
987 <li class=
"md-nav__item">
988 <a href=
"../../../../package/package-xml/" class=
"md-nav__link">
1000 <li class=
"md-nav__item md-nav__item--nested">
1003 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_5_2" type=
"checkbox" id=
"__nav_5_2" >
1005 <label class=
"md-nav__link" for=
"__nav_5_2">
1007 <span class=
"md-nav__icon md-icon"></span>
1009 <nav class=
"md-nav" aria-label=
"PIPs" data-md-level=
"2">
1010 <label class=
"md-nav__title" for=
"__nav_5_2">
1011 <span class=
"md-nav__icon md-icon"></span>
1014 <ul class=
"md-nav__list" data-md-scrollfix
>
1020 <li class=
"md-nav__item">
1021 <a href=
"../../../../package/pip/" class=
"md-nav__link">
1032 <li class=
"md-nav__item">
1033 <a href=
"../../../../package/pip/acl-option/" class=
"md-nav__link">
1044 <li class=
"md-nav__item">
1045 <a href=
"../../../../package/pip/acp-menu/" class=
"md-nav__link">
1056 <li class=
"md-nav__item">
1057 <a href=
"../../../../package/pip/acp-search-provider/" class=
"md-nav__link">
1068 <li class=
"md-nav__item">
1069 <a href=
"../../../../package/pip/acp-template/" class=
"md-nav__link">
1080 <li class=
"md-nav__item">
1081 <a href=
"../../../../package/pip/bbcode/" class=
"md-nav__link">
1092 <li class=
"md-nav__item">
1093 <a href=
"../../../../package/pip/box/" class=
"md-nav__link">
1104 <li class=
"md-nav__item">
1105 <a href=
"../../../../package/pip/clipboard-action/" class=
"md-nav__link">
1116 <li class=
"md-nav__item">
1117 <a href=
"../../../../package/pip/core-object/" class=
"md-nav__link">
1128 <li class=
"md-nav__item">
1129 <a href=
"../../../../package/pip/cronjob/" class=
"md-nav__link">
1140 <li class=
"md-nav__item">
1141 <a href=
"../../../../package/pip/database/" class=
"md-nav__link">
1152 <li class=
"md-nav__item">
1153 <a href=
"../../../../package/pip/event-listener/" class=
"md-nav__link">
1164 <li class=
"md-nav__item">
1165 <a href=
"../../../../package/pip/file/" class=
"md-nav__link">
1176 <li class=
"md-nav__item">
1177 <a href=
"../../../../package/pip/language/" class=
"md-nav__link">
1188 <li class=
"md-nav__item">
1189 <a href=
"../../../../package/pip/media-provider/" class=
"md-nav__link">
1200 <li class=
"md-nav__item">
1201 <a href=
"../../../../package/pip/menu/" class=
"md-nav__link">
1212 <li class=
"md-nav__item">
1213 <a href=
"../../../../package/pip/menu-item/" class=
"md-nav__link">
1224 <li class=
"md-nav__item">
1225 <a href=
"../../../../package/pip/object-type/" class=
"md-nav__link">
1236 <li class=
"md-nav__item">
1237 <a href=
"../../../../package/pip/object-type-definition/" class=
"md-nav__link">
1238 objectTypeDefinition
1248 <li class=
"md-nav__item">
1249 <a href=
"../../../../package/pip/option/" class=
"md-nav__link">
1260 <li class=
"md-nav__item">
1261 <a href=
"../../../../package/pip/page/" class=
"md-nav__link">
1272 <li class=
"md-nav__item">
1273 <a href=
"../../../../package/pip/pip/" class=
"md-nav__link">
1284 <li class=
"md-nav__item">
1285 <a href=
"../../../../package/pip/script/" class=
"md-nav__link">
1296 <li class=
"md-nav__item">
1297 <a href=
"../../../../package/pip/smiley/" class=
"md-nav__link">
1308 <li class=
"md-nav__item">
1309 <a href=
"../../../../package/pip/sql/" class=
"md-nav__link">
1320 <li class=
"md-nav__item">
1321 <a href=
"../../../../package/pip/style/" class=
"md-nav__link">
1332 <li class=
"md-nav__item">
1333 <a href=
"../../../../package/pip/template/" class=
"md-nav__link">
1344 <li class=
"md-nav__item">
1345 <a href=
"../../../../package/pip/template-listener/" class=
"md-nav__link">
1356 <li class=
"md-nav__item">
1357 <a href=
"../../../../package/pip/user-group-option/" class=
"md-nav__link">
1368 <li class=
"md-nav__item">
1369 <a href=
"../../../../package/pip/user-menu/" class=
"md-nav__link">
1380 <li class=
"md-nav__item">
1381 <a href=
"../../../../package/pip/user-notification-event/" class=
"md-nav__link">
1382 userNotificationEvent
1392 <li class=
"md-nav__item">
1393 <a href=
"../../../../package/pip/user-option/" class=
"md-nav__link">
1404 <li class=
"md-nav__item">
1405 <a href=
"../../../../package/pip/user-profile-menu/" class=
"md-nav__link">
1422 <li class=
"md-nav__item">
1423 <a href=
"../../../../package/database-php-api/" class=
"md-nav__link">
1444 <li class=
"md-nav__item md-nav__item--nested">
1447 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_6" type=
"checkbox" id=
"__nav_6" >
1449 <label class=
"md-nav__link" for=
"__nav_6">
1451 <span class=
"md-nav__icon md-icon"></span>
1453 <nav class=
"md-nav" aria-label=
"Migration" data-md-level=
"1">
1454 <label class=
"md-nav__title" for=
"__nav_6">
1455 <span class=
"md-nav__icon md-icon"></span>
1458 <ul class=
"md-nav__list" data-md-scrollfix
>
1465 <li class=
"md-nav__item md-nav__item--nested">
1468 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_6_1" type=
"checkbox" id=
"__nav_6_1" >
1470 <label class=
"md-nav__link" for=
"__nav_6_1">
1471 Migrating from WSC
5.3
1472 <span class=
"md-nav__icon md-icon"></span>
1474 <nav class=
"md-nav" aria-label=
"Migrating from WSC 5.3" data-md-level=
"2">
1475 <label class=
"md-nav__title" for=
"__nav_6_1">
1476 <span class=
"md-nav__icon md-icon"></span>
1477 Migrating from WSC
5.3
1479 <ul class=
"md-nav__list" data-md-scrollfix
>
1485 <li class=
"md-nav__item">
1486 <a href=
"../../../../migration/wsc53/php/" class=
"md-nav__link">
1497 <li class=
"md-nav__item">
1498 <a href=
"../../../../migration/wsc53/session/" class=
"md-nav__link">
1499 Session Handling and Authentication
1509 <li class=
"md-nav__item">
1510 <a href=
"../../../../migration/wsc53/javascript/" class=
"md-nav__link">
1511 TypeScript and JavaScript
1521 <li class=
"md-nav__item">
1522 <a href=
"../../../../migration/wsc53/templates/" class=
"md-nav__link">
1533 <li class=
"md-nav__item">
1534 <a href=
"../../../../migration/wsc53/libraries/" class=
"md-nav__link">
1535 Third Party Libraries
1552 <li class=
"md-nav__item md-nav__item--nested">
1555 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_6_2" type=
"checkbox" id=
"__nav_6_2" >
1557 <label class=
"md-nav__link" for=
"__nav_6_2">
1558 Migrating from WSC
5.2
1559 <span class=
"md-nav__icon md-icon"></span>
1561 <nav class=
"md-nav" aria-label=
"Migrating from WSC 5.2" data-md-level=
"2">
1562 <label class=
"md-nav__title" for=
"__nav_6_2">
1563 <span class=
"md-nav__icon md-icon"></span>
1564 Migrating from WSC
5.2
1566 <ul class=
"md-nav__list" data-md-scrollfix
>
1572 <li class=
"md-nav__item">
1573 <a href=
"../../../../migration/wsc52/php/" class=
"md-nav__link">
1584 <li class=
"md-nav__item">
1585 <a href=
"../../../../migration/wsc52/templates/" class=
"md-nav__link">
1586 Templates and Languages
1596 <li class=
"md-nav__item">
1597 <a href=
"../../../../migration/wsc52/libraries/" class=
"md-nav__link">
1598 Third Party Libraries
1615 <li class=
"md-nav__item md-nav__item--nested">
1618 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_6_3" type=
"checkbox" id=
"__nav_6_3" >
1620 <label class=
"md-nav__link" for=
"__nav_6_3">
1621 Migrating from WSC
3.1
1622 <span class=
"md-nav__icon md-icon"></span>
1624 <nav class=
"md-nav" aria-label=
"Migrating from WSC 3.1" data-md-level=
"2">
1625 <label class=
"md-nav__title" for=
"__nav_6_3">
1626 <span class=
"md-nav__icon md-icon"></span>
1627 Migrating from WSC
3.1
1629 <ul class=
"md-nav__list" data-md-scrollfix
>
1635 <li class=
"md-nav__item">
1636 <a href=
"../../../../migration/wsc31/php/" class=
"md-nav__link">
1654 <li class=
"md-nav__item md-nav__item--nested">
1657 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_6_4" type=
"checkbox" id=
"__nav_6_4" >
1659 <label class=
"md-nav__link" for=
"__nav_6_4">
1660 Migrating from WSC
3.0
1661 <span class=
"md-nav__icon md-icon"></span>
1663 <nav class=
"md-nav" aria-label=
"Migrating from WSC 3.0" data-md-level=
"2">
1664 <label class=
"md-nav__title" for=
"__nav_6_4">
1665 <span class=
"md-nav__icon md-icon"></span>
1666 Migrating from WSC
3.0
1668 <ul class=
"md-nav__list" data-md-scrollfix
>
1674 <li class=
"md-nav__item">
1675 <a href=
"../../../../migration/wsc30/php/" class=
"md-nav__link">
1686 <li class=
"md-nav__item">
1687 <a href=
"../../../../migration/wsc30/javascript/" class=
"md-nav__link">
1698 <li class=
"md-nav__item">
1699 <a href=
"../../../../migration/wsc30/templates/" class=
"md-nav__link">
1710 <li class=
"md-nav__item">
1711 <a href=
"../../../../migration/wsc30/css/" class=
"md-nav__link">
1722 <li class=
"md-nav__item">
1723 <a href=
"../../../../migration/wsc30/package/" class=
"md-nav__link">
1741 <li class=
"md-nav__item md-nav__item--nested">
1744 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_6_5" type=
"checkbox" id=
"__nav_6_5" >
1746 <label class=
"md-nav__link" for=
"__nav_6_5">
1747 Migrating from WCF
2.1
1748 <span class=
"md-nav__icon md-icon"></span>
1750 <nav class=
"md-nav" aria-label=
"Migrating from WCF 2.1" data-md-level=
"2">
1751 <label class=
"md-nav__title" for=
"__nav_6_5">
1752 <span class=
"md-nav__icon md-icon"></span>
1753 Migrating from WCF
2.1
1755 <ul class=
"md-nav__list" data-md-scrollfix
>
1761 <li class=
"md-nav__item">
1762 <a href=
"../../../../migration/wcf21/php/" class=
"md-nav__link">
1773 <li class=
"md-nav__item">
1774 <a href=
"../../../../migration/wcf21/templates/" class=
"md-nav__link">
1785 <li class=
"md-nav__item">
1786 <a href=
"../../../../migration/wcf21/css/" class=
"md-nav__link">
1797 <li class=
"md-nav__item">
1798 <a href=
"../../../../migration/wcf21/package/" class=
"md-nav__link">
1825 <li class=
"md-nav__item md-nav__item--nested">
1828 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_7" type=
"checkbox" id=
"__nav_7" >
1830 <label class=
"md-nav__link" for=
"__nav_7">
1832 <span class=
"md-nav__icon md-icon"></span>
1834 <nav class=
"md-nav" aria-label=
"Tutorials" data-md-level=
"1">
1835 <label class=
"md-nav__title" for=
"__nav_7">
1836 <span class=
"md-nav__icon md-icon"></span>
1839 <ul class=
"md-nav__list" data-md-scrollfix
>
1846 <li class=
"md-nav__item md-nav__item--nested">
1849 <input class=
"md-nav__toggle md-toggle" data-md-toggle=
"__nav_7_1" type=
"checkbox" id=
"__nav_7_1" >
1851 <label class=
"md-nav__link" for=
"__nav_7_1">
1853 <span class=
"md-nav__icon md-icon"></span>
1855 <nav class=
"md-nav" aria-label=
"Tutorial Series" data-md-level=
"2">
1856 <label class=
"md-nav__title" for=
"__nav_7_1">
1857 <span class=
"md-nav__icon md-icon"></span>
1860 <ul class=
"md-nav__list" data-md-scrollfix
>
1866 <li class=
"md-nav__item">
1867 <a href=
"../../../../tutorial/series/overview/" class=
"md-nav__link">
1878 <li class=
"md-nav__item">
1879 <a href=
"../../../../tutorial/series/part_1/" class=
"md-nav__link">
1890 <li class=
"md-nav__item">
1891 <a href=
"../../../../tutorial/series/part_2/" class=
"md-nav__link">
1902 <li class=
"md-nav__item">
1903 <a href=
"../../../../tutorial/series/part_3/" class=
"md-nav__link">
1914 <li class=
"md-nav__item">
1915 <a href=
"../../../../tutorial/series/part_4/" class=
"md-nav__link">
1926 <li class=
"md-nav__item">
1927 <a href=
"../../../../tutorial/series/part_5/" class=
"md-nav__link">
1954 <div class=
"md-sidebar md-sidebar--secondary" data-md-component=
"sidebar" data-md-type=
"toc" >
1955 <div class=
"md-sidebar__scrollwrap">
1956 <div class=
"md-sidebar__inner">
1958 <nav class=
"md-nav md-nav--secondary" aria-label=
"Table of contents">
1965 <label class=
"md-nav__title" for=
"__toc">
1966 <span class=
"md-nav__icon md-icon"></span>
1969 <ul class=
"md-nav__list" data-md-component=
"toc" data-md-scrollfix
>
1971 <li class=
"md-nav__item">
1972 <a href=
"#advantages-of-form-builder" class=
"md-nav__link">
1973 Advantages of Form Builder
1978 <li class=
"md-nav__item">
1979 <a href=
"#form-builder-components" class=
"md-nav__link">
1980 Form Builder Components
1985 <li class=
"md-nav__item">
1986 <a href=
"#abstractformbuilderform" class=
"md-nav__link">
1987 AbstractFormBuilderForm
1992 <li class=
"md-nav__item">
1993 <a href=
"#dialogformdocument" class=
"md-nav__link">
2007 <div class=
"md-content" data-md-component=
"content">
2008 <article class=
"md-content__inner md-typeset">
2011 <a href=
"https://github.com/WoltLab/docs.woltlab.com/edit/5.4/docs/php/api/form_builder/overview.md" title=
"Edit this page" class=
"md-content__button md-icon">
2012 <svg xmlns=
"http://www.w3.org/2000/svg" viewBox=
"0 0 24 24"><path d=
"M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z"/></svg>
2016 <h1 id=
"form-builder">Form Builder
<a class=
"headerlink" href=
"#form-builder" title=
"Permanent link">#
</a></h1>
2017 <div class=
"admonition info">
2018 <p class=
"admonition-title">Form builder is only available since WoltLab Suite Core
5.2.
</p>
2020 <div class=
"admonition info">
2021 <p class=
"admonition-title">The
<a href=
"../../../../migration/wsc31/form-builder/">migration guide for WoltLab Suite Core
5.2</a> provides some examples of how to migrate existing forms to form builder that can also help in understanding form builder if the old way of creating forms is familiar.
</p>
2023 <h2 id=
"advantages-of-form-builder">Advantages of Form Builder
<a class=
"headerlink" href=
"#advantages-of-form-builder" title=
"Permanent link">#
</a></h2>
2024 <p>WoltLab Suite
5.2 introduces a new powerful way of creating forms: form builder.
2025 Before taking a closer look at form builder, let us recap how forms are created in previous versions:
2026 In general, for each form field, there is a corresponding property of the form's PHP class whose value has to be read from the request data, validated, and passed to the database object action to store the value in a database table.
2027 When editing an object, the property's value has to be set using the value of the corresponding property of the edited object.
2028 In the form's template, you have to write the
<code><form
></code> element with all of its children: the
<code><section
></code> elements, the
<code><dl
></code> elements, and, of course, the form fields themselves.
2029 In summary, this way of creating forms creates much duplicate or at least very similar code and makes it very time consuming if the structure of forms in general or a specific type of form field has to be changed.
</p>
2030 <p>Form builder, in contrast, relies on PHP objects representing each component of the form, from the form itself down to each form field.
2031 This approach makes creating forms as easy as creating some PHP objects, populating them with all the relevant data, and one line of code in the template to print the form.
</p>
2032 <h2 id=
"form-builder-components">Form Builder Components
<a class=
"headerlink" href=
"#form-builder-components" title=
"Permanent link">#
</a></h2>
2033 <p>Form builder consists of several components that are presented on the following pages:
</p>
2035 <li><a href=
"../structure/">Structure of form builder
</a></li>
2036 <li><a href=
"../validation_data/">Form validation and form data
</a></li>
2037 <li><a href=
"../dependencies/">Form node dependencies
</a></li>
2039 <div class=
"admonition warning">
2040 <p class=
"admonition-title">In general, form builder provides default implementation of interfaces by providing either abstract classes or traits. It is expected that the interfaces are always implemented using these abstract classes and traits! This way, if new methods are added to the interfaces, default implementations can be provided by the abstract classes and traits without causing backwards compatibility problems.
</p>
2042 <h2 id=
"abstractformbuilderform"><code>AbstractFormBuilderForm
</code><a class=
"headerlink" href=
"#abstractformbuilderform" title=
"Permanent link">#
</a></h2>
2043 <p>To make using form builder easier,
<code>AbstractFormBuilderForm
</code> extends
<code>AbstractForm
</code> and provides most of the code needed to set up a form (of course without specific fields, those have to be added by the concrete form class), like reading and validating form values and using a database object action to use the form data to create or update a database object.
</p>
2044 <p>In addition to the existing methods inherited by
<code>AbstractForm
</code>,
<code>AbstractFormBuilderForm
</code> provides the following methods:
</p>
2047 <p><code>buildForm()
</code> builds the form in the following steps:
</p>
2050 <p>Call
<code>AbtractFormBuilderForm::createForm()
</code> to create the
<code>IFormDocument
</code> object and add the form fields.
</p>
2052 <li>Call
<code>IFormDocument::build()
</code> to build the form.
</li>
2053 <li>Call
<code>AbtractFormBuilderForm::finalizeForm()
</code> to finalize the form like adding dependencies.
</li>
2055 <p>Additionally, between steps
1 and
2 and after step
3, the method provides two events,
<code>createForm
</code> and
<code>buildForm
</code> to allow plugins to register event listeners to execute additional code at the right point in time.
2056 -
<code>createForm()
</code> creates the
<code>FormDocument
</code> object and sets the form mode.
2057 Classes extending
<code>AbstractFormBuilderForm
</code> have to override this method (and call
<code>parent::createForm()
</code> as the first line in the overridden method) to add concrete form containers and form fields to the bare form document.
2058 -
<code>finalizeForm()
</code> is called after the form has been built and the complete form hierarchy has been established.
2059 This method should be overridden to add dependencies, for example.
2060 -
<code>setFormAction()
</code> is called at the end of
<code>readData()
</code> and sets the form document’s action based on the controller class name and whether an object is currently edited.
2061 - If an object is edited, at the beginning of
<code>readData()
</code>,
<code>setFormObjectData()
</code> is called which calls
<code>IFormDocument::loadValuesFromObject()
</code>.
2062 If values need to be loaded from additional sources, this method should be used for that.
</p>
2063 <p><code>AbstractFormBuilderForm
</code> also provides the following (public) properties:
</p>
2065 <li><code>$form
</code> contains the
<code>IFormDocument
</code> object created in
<code>createForm()
</code>.
</li>
2066 <li><code>$formAction
</code> is either
<code>create
</code> (default) or
<code>edit
</code> and handles which method of the database object is called by default (
<code>create
</code> is called for
<code>$formAction = 'create'
</code> and
<code>update
</code> is called for
<code>$formAction = 'edit'
</code>) and is used to set the value of the
<code>action
</code> template variable.
</li>
2067 <li><code>$formObject
</code> contains the
<code>IStorableObject
</code> if the form is used to edit an existing object.
2068 For forms used to create objects,
<code>$formObject
</code> is always
<code>null
</code>.
2069 Edit forms have to manually identify the edited object based on the request data and set the value of
<code>$formObject
</code>.
</li>
2070 <li><code>$objectActionName
</code> can be used to set an alternative action to be executed by the database object action that deviates from the default action determined by the value of
<code>$formAction
</code>.
</li>
2071 <li><code>$objectActionClass
</code> is the name of the database object action class that is used to create or update the database object.
</li>
2073 <h2 id=
"dialogformdocument"><code>DialogFormDocument
</code><a class=
"headerlink" href=
"#dialogformdocument" title=
"Permanent link">#
</a></h2>
2074 <p>Form builder forms can also be used in dialogs.
2075 For such forms,
<code>DialogFormDocument
</code> should be used which provides the additional methods
<code>cancelable($cancelable = true)
</code> and
<code>isCancelable()
</code> to set and check if the dialog can be canceled.
2076 If a dialog form can be canceled, a cancel button is added.
</p>
2077 <p>If the dialog form is fetched via an AJAX request,
<code>IFormDocument::ajax()
</code> has to be called.
2078 AJAX forms are registered with
<code>WoltLabSuite/Core/Form/Builder/Manager
</code> which also supports getting all of the data of a form via the
<code>getData(formId)
</code> function.
2079 The
<code>getData()
</code> function relies on all form fields creating and registering a
<code>WoltLabSuite/Core/Form/Builder/Field/Field
</code> object that provides the data of a specific field.
</p>
2080 <p>To make it as easy as possible to work with AJAX forms in dialogs,
<code>WoltLabSuite/Core/Form/Builder/Dialog
</code> (abbreviated as
<code>FormBuilderDialog
</code> from now on) should generally be used instead of
<code>WoltLabSuite/Core/Form/Builder/Manager
</code> directly.
2081 The constructor of
<code>FormBuilderDialog
</code> expects the following parameters:
</p>
2083 <li><code>dialogId
</code>: id of the dialog element
</li>
2084 <li><code>className
</code>: PHP class used to get the form dialog (and save the data if
<code>options.submitActionName
</code> is set)
</li>
2085 <li><code>actionName
</code>: name of the action/method of
<code>className
</code> that returns the dialog; the method is expected to return an array with
<code>formId
</code> containg the id of the returned form and
<code>dialog
</code> containing the rendered form dialog
</li>
2086 <li><code>options
</code>: additional options:
</li>
2087 <li><code>actionParameters
</code> (default: empty): additional parameters sent during AJAX requests
</li>
2088 <li><code>destroyOnClose
</code> (default:
<code>false
</code>): if
<code>true
</code>, whenever the dialog is closed, the form is destroyed so that a new form is fetched if the dialog is opened again
</li>
2089 <li><code>dialog
</code>: additional dialog options used as
<code>options
</code> during dialog setup
</li>
2090 <li><code>onSubmit
</code>: callback when the form is submitted (takes precedence over
<code>submitActionName
</code>)
</li>
2091 <li><code>submitActionName
</code> (default: not set): name of the action/method of
<code>className
</code> called when the form is submitted
</li>
2093 <p>The three public functions of
<code>FormBuilderDialog
</code> are:
</p>
2095 <li><code>destroy()
</code> destroys the dialog, the form, and all of the form fields.
</li>
2096 <li><code>getData()
</code> returns a Promise that returns the form data.
</li>
2097 <li><code>open()
</code> opens the dialog.
</li>
2100 <table class=
"highlighttable"><tr><td class=
"linenos"><div class=
"linenodiv"><pre><span></span><span class=
"normal"> 1</span>
2101 <span class=
"normal"> 2</span>
2102 <span class=
"normal"> 3</span>
2103 <span class=
"normal"> 4</span>
2104 <span class=
"normal"> 5</span>
2105 <span class=
"normal"> 6</span>
2106 <span class=
"normal"> 7</span>
2107 <span class=
"normal"> 8</span>
2108 <span class=
"normal"> 9</span>
2109 <span class=
"normal">10</span>
2110 <span class=
"normal">11</span>
2111 <span class=
"normal">12</span>
2112 <span class=
"normal">13</span>
2113 <span class=
"normal">14</span>
2114 <span class=
"normal">15</span>
2115 <span class=
"normal">16</span>
2116 <span class=
"normal">17</span>
2117 <span class=
"normal">18</span></pre></div></td><td class=
"code"><div class=
"highlight"><pre><span></span><code><span class=
"nx">require
</span><span class=
"p">([
</span><span class=
"s1">'WoltLabSuite/Core/Form/Builder/Dialog
'</span><span class=
"p">],
</span> <span class=
"kd">function
</span><span class=
"p">(
</span><span class=
"nx">FormBuilderDialog
</span><span class=
"p">)
</span> <span class=
"p">{
</span>
2118 <span class=
"kd">var
</span> <span class=
"nx">dialog
</span> <span class=
"o">=
</span> <span class=
"k">new
</span> <span class=
"nx">FormBuilderDialog
</span><span class=
"p">(
</span>
2119 <span class=
"s1">'testDialog
'</span><span class=
"p">,
</span>
2120 <span class=
"s1">'wcf\\data\\test\\TestAction
'</span><span class=
"p">,
</span>
2121 <span class=
"s1">'getDialog
'</span><span class=
"p">,
</span>
2122 <span class=
"p">{
</span>
2123 <span class=
"nx">destroyOnClose
</span><span class=
"o">:
</span> <span class=
"kc">true
</span><span class=
"p">,
</span>
2124 <span class=
"nx">dialog
</span><span class=
"o">:
</span> <span class=
"p">{
</span>
2125 <span class=
"nx">title
</span><span class=
"o">:
</span> <span class=
"s1">'Test Dialog
'</span>
2126 <span class=
"p">},
</span>
2127 <span class=
"nx">submitActionName
</span><span class=
"o">:
</span> <span class=
"s1">'saveDialog
'</span>
2128 <span class=
"p">}
</span>
2129 <span class=
"p">);
</span>
2131 <span class=
"nx">elById
</span><span class=
"p">(
</span><span class=
"s1">'testDialogButton
'</span><span class=
"p">).
</span><span class=
"nx">addEventListener
</span><span class=
"p">(
</span><span class=
"s1">'click
'</span><span class=
"p">,
</span> <span class=
"kd">function
</span><span class=
"p">()
</span> <span class=
"p">{
</span>
2132 <span class=
"nx">dialog
</span><span class=
"p">.
</span><span class=
"nx">open
</span><span class=
"p">();
</span>
2133 <span class=
"p">});
</span>
2134 <span class=
"p">});
</span>
2142 <div class=
"md-source-date">
2145 Last update:
2021-
01-
15
2164 <footer class=
"md-footer">
2166 <nav class=
"md-footer__inner md-grid" aria-label=
"Footer">
2168 <a href=
"../../events/" class=
"md-footer__link md-footer__link--prev" rel=
"prev">
2169 <div class=
"md-footer__button md-icon">
2170 <svg xmlns=
"http://www.w3.org/2000/svg" viewBox=
"0 0 24 24"><path d=
"M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
2172 <div class=
"md-footer__title">
2173 <div class=
"md-ellipsis">
2174 <span class=
"md-footer__direction">
2183 <a href=
"../structure/" class=
"md-footer__link md-footer__link--next" rel=
"next">
2184 <div class=
"md-footer__title">
2185 <div class=
"md-ellipsis">
2186 <span class=
"md-footer__direction">
2192 <div class=
"md-footer__button md-icon">
2193 <svg xmlns=
"http://www.w3.org/2000/svg" viewBox=
"0 0 24 24"><path d=
"M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11H4z"/></svg>
2199 <div class=
"md-footer-meta md-typeset">
2200 <div class=
"md-footer-meta__inner md-grid">
2201 <div class=
"md-footer-copyright">
2203 <div class=
"md-footer-copyright__highlight">
2204 Copyright ©
2020 WoltLab GmbH
2208 <a href=
"https://squidfunk.github.io/mkdocs-material/" target=
"_blank" rel=
"noopener">
2213 <div class=
"md-footer-copyright">
2214 <a href=
"https://www.woltlab.com/legal-notice/">Legal Notice
</a>
2215 <a href=
"https://www.woltlab.com/privacy-policy/">Privacy Policy
</a>
2222 <div class=
"md-dialog" data-md-component=
"dialog">
2223 <div class=
"md-dialog__inner md-typeset"></div>
2225 <script id=
"__config" type=
"application/json">{
"base":
"../../../..",
"features": [],
"translations": {
"clipboard.copy":
"Copy to clipboard",
"clipboard.copied":
"Copied to clipboard",
"search.config.lang":
"en",
"search.config.pipeline":
"trimmer, stopWordFilter",
"search.config.separator":
"[\\s\\-]+",
"search.placeholder":
"Search",
"search.result.placeholder":
"Type to start searching",
"search.result.none":
"No matching documents",
"search.result.one":
"1 matching document",
"search.result.other":
"# matching documents",
"search.result.more.one":
"1 more on this page",
"search.result.more.other":
"# more on this page",
"search.result.term.missing":
"Missing"},
"search":
"../../../../assets/javascripts/workers/search.fe42c31b.min.js",
"version": {
"provider":
"mike"}}
</script>
2228 <script src=
"../../../../assets/javascripts/bundle.4ea5477f.min.js"></script>