dab7356abc0fdde20848669cf03746dacce42064
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Configuration / Yaml / FormEditorSetup.yaml
1 TYPO3:
2   CMS:
3     Form:
4       ########### FORM MANAGER CONFIGURATION ###########
5       formManager:
6         dynamicRequireJsModules:
7           app: 'TYPO3/CMS/Form/Backend/FormManager'
8           viewModel: 'TYPO3/CMS/Form/Backend/FormManager/ViewModel'
9         stylesheets:
10           100: 'EXT:form/Resources/Public/Css/form.css'
11         translationFile: 'EXT:form/Resources/Private/Language/Database.xlf'
12         javaScriptTranslationFile: 'EXT:form/Resources/Private/Language/locallang_formManager_javascript.xlf'
13         selectablePrototypesConfiguration:
14           100:
15             identifier: 'standard'
16             label: 'formManager.selectablePrototypesConfiguration.standard.label'
17             newFormTemplates:
18               100:
19                 templatePath: 'EXT:form/Resources/Private/Backend/Templates/FormEditor/Yaml/NewForms/BlankForm.yaml'
20                 label: 'formManager.selectablePrototypesConfiguration.standard.newFormTemplates.blankForm.label'
21               200:
22                 templatePath: 'EXT:form/Resources/Private/Backend/Templates/FormEditor/Yaml/NewForms/SimpleContactForm.yaml'
23                 label: 'formManager.selectablePrototypesConfiguration.standard.newFormTemplates.simpleContactForm.label'
24         controller:
25           deleteAction:
26             errorTitle: 'formManagerController.deleteAction.error.title'
27             errorMessage: 'formManagerController.deleteAction.error.body'
28
29       ########### FORMEDITOR CONFIGURATION ###########
30       prototypes:
31         standard:
32           formEditor:
33             translationFile: 'EXT:form/Resources/Private/Language/Database.xlf'
34             dynamicRequireJsModules:
35               app: 'TYPO3/CMS/Form/Backend/FormEditor'
36               mediator: 'TYPO3/CMS/Form/Backend/FormEditor/Mediator'
37               viewModel: 'TYPO3/CMS/Form/Backend/FormEditor/ViewModel'
38               additionalViewModelModules:
39
40             addInlineSettings: []
41             maximumUndoSteps: 10
42
43             stylesheets:
44               # @toDo: move form.less to the TYPO3 Build folder
45               200: 'EXT:form/Resources/Public/Css/form.css'
46
47             formEditorFluidConfiguration:
48               templatePathAndFilename: 'EXT:form/Resources/Private/Backend/Templates/FormEditor/InlineTemplates.html'
49               partialRootPaths:
50                 10: 'EXT:form/Resources/Private/Backend/Partials/FormEditor/'
51               layoutRootPaths:
52                 10: 'EXT:form/Resources/Private/Backend/Layouts/FormEditor/'
53
54             formEditorPartials:
55               # abstract form element partials
56               FormElement-_ElementToolbar: 'Stage/_ElementToolbar'
57               FormElement-_UnknownElement: 'Stage/_UnknownElement'
58               FormElement-Page: 'Stage/Page'
59               FormElement-SummaryPage: 'Stage/SummaryPage'
60               FormElement-Fieldset: 'Stage/Fieldset'
61               FormElement-Text: 'Stage/SimpleTemplate'
62               FormElement-Password: 'Stage/SimpleTemplate'
63               FormElement-AdvancedPassword: 'Stage/SimpleTemplate'
64               FormElement-Textarea: 'Stage/SimpleTemplate'
65               FormElement-Checkbox: 'Stage/SimpleTemplate'
66               FormElement-MultiCheckbox: 'Stage/SelectTemplate'
67               FormElement-MultiSelect: 'Stage/SelectTemplate'
68               FormElement-RadioButton: 'Stage/SelectTemplate'
69               FormElement-SingleSelect: 'Stage/SelectTemplate'
70               FormElement-DatePicker: 'Stage/SimpleTemplate'
71               FormElement-StaticText: 'Stage/StaticText'
72               FormElement-Hidden: 'Stage/SimpleTemplate'
73               FormElement-ContentElement: 'Stage/ContentElement'
74               FormElement-FileUpload: 'Stage/FileUploadTemplate'
75               FormElement-ImageUpload: 'Stage/FileUploadTemplate'
76
77               # modals
78               Modal-InsertElements: 'Modals/InsertElements'
79               Modal-InsertPages: 'Modals/InsertPages'
80               Modal-ValidationErrors: 'Modals/ValidationErrors'
81
82               # inspector editors
83               Inspector-FormElementHeaderEditor: 'Inspector/FormElementHeaderEditor'
84               Inspector-CollectionElementHeaderEditor: 'Inspector/CollectionElementHeaderEditor'
85               Inspector-TextEditor: 'Inspector/TextEditor'
86               Inspector-PropertyGridEditor: 'Inspector/PropertyGridEditor'
87               Inspector-SingleSelectEditor: 'Inspector/SingleSelectEditor'
88               Inspector-MultiSelectEditor: 'Inspector/MultiSelectEditor'
89               Inspector-TextareaEditor: 'Inspector/TextareaEditor'
90               Inspector-RemoveElementEditor: 'Inspector/RemoveElementEditor'
91               Inspector-FinishersEditor: 'Inspector/FinishersEditor'
92               Inspector-ValidatorsEditor: 'Inspector/ValidatorsEditor'
93               Inspector-RequiredValidatorEditor: 'Inspector/RequiredValidatorEditor'
94               Inspector-CheckboxEditor: 'Inspector/CheckboxEditor'
95               Inspector-Typo3WinBrowserEditor: 'Inspector/Typo3WinBrowserEditor'
96
97             formElementPropertyValidatorsDefinition:
98               NotEmpty:
99                 errorMessage: 'formEditor.formElementPropertyValidatorsDefinition.NotEmpty.label'
100               Integer:
101                 errorMessage: 'formEditor.formElementPropertyValidatorsDefinition.Integer.label'
102               NaiveEmail:
103                 errorMessage: 'formEditor.formElementPropertyValidatorsDefinition.NaiveEmail.label'
104               NaiveEmailOrEmpty:
105                 errorMessage: 'formEditor.formElementPropertyValidatorsDefinition.NaiveEmail.label'
106               FormElementIdentifierWithinCurlyBracesInclusive:
107                 errorMessage: 'formEditor.formElementPropertyValidatorsDefinition.FormElementIdentifierWithinCurlyBraces.label'
108               FormElementIdentifierWithinCurlyBracesExclusive:
109                 errorMessage: 'formEditor.formElementPropertyValidatorsDefinition.FormElementIdentifierWithinCurlyBraces.label'
110
111             formElementGroups:
112               input:
113                 label: 'formEditor.formElementGroups.input.label'
114               select:
115                 label: 'formEditor.formElementGroups.select.label'
116               custom:
117                 label: 'formEditor.formElementGroups.custom.label'
118               container:
119                 label: 'formEditor.formElementGroups.container.label'
120               page:
121                 label: 'formEditor.formElementGroups.page.label'
122
123           ########### DEFAULT FORM ELEMENT DEFINITIONS ###########
124           formElementsDefinition:
125             Form:
126               formEditor:
127                 _isCompositeFormElement: false
128                 _isTopLevelFormElement: true
129
130                 saveSuccessFlashMessageTitle: 'formEditor.elements.Form.saveSuccessFlashMessageTitle'
131                 saveSuccessFlashMessageMessage: 'formEditor.elements.Form.saveSuccessFlashMessageMessage'
132
133                 modalValidationErrorsDialogTitle: 'formEditor.modals.validationErrors.dialogTitle'
134                 modalValidationErrorsConfirmButton: 'formEditor.modals.validationErrors.confirmButton'
135
136                 modalInsertElementsDialogTitle: 'formEditor.modals.insertElements.dialogTitle'
137                 modalInsertPagesDialogTitle: 'formEditor.modals.newPages.dialogTitle'
138
139                 modalCloseDialogMessage: 'formEditor.modals.close.dialogMessage'
140                 modalCloseDialogTitle: 'formEditor.modals.close.dialogTitle'
141                 modalCloseConfirmButton: 'formEditor.modals.close.confirmButton'
142                 modalCloseCancleButton: 'formEditor.modals.close.cancleButton'
143
144                 modalRemoveElementDialogTitle: 'formEditor.modals.removeElement.dialogTitle'
145                 modalRemoveElementDialogMessage: 'formEditor.modals.removeElement.dialogMessage'
146                 modalRemoveElementConfirmButton: 'formEditor.modals.removeElement.confirmButton'
147                 modalRemoveElementCancleButton: 'formEditor.modals.removeElement.cancleButton'
148                 modalRemoveElementLastAvailablePageFlashMessageTitle: 'formEditor.modals.removeElement.lastAvailablePageFlashMessageTitle'
149                 modalRemoveElementLastAvailablePageFlashMessageMessage: 'formEditor.modals.removeElement.lastAvailablePageFlashMessageMessage'
150
151                 inspectorEditorFormElementSelectorNoElements: 'formEditor.inspector.editor.formelement_selector.no_elements'
152
153                 paginationTitle: 'formEditor.pagination.title'
154
155                 iconIdentifier: 'content-elements-mailform'
156                 predefinedDefaults: []
157                 editors:
158                   900:
159                     identifier: 'finishers'
160                     templateName: 'Inspector-FinishersEditor'
161                     label: 'formEditor.elements.Form.editor.finishers.label'
162                     selectOptions:
163                       10:
164                         value: ''
165                         label: 'formEditor.elements.Form.editor.finishers.EmptyValue.label'
166                       20:
167                         value: 'EmailToSender'
168                         label: 'formEditor.elements.Form.editor.finishers.EmailToSender.label'
169                       30:
170                         value: 'EmailToReceiver'
171                         label: 'formEditor.elements.Form.editor.finishers.EmailToReceiver.label'
172                       40:
173                         value: 'Redirect'
174                         label: 'formEditor.elements.Form.editor.finishers.Redirect.label'
175                       50:
176                         value: 'DeleteUploads'
177                         label: 'formEditor.elements.Form.editor.finishers.DeleteUploads.label'
178
179                 propertyCollections:
180                   finishers:
181                     10:
182                       __inheritances:
183                         10: 'TYPO3.CMS.Form.mixins.formElementMixins.formEmailFinisherMixin'
184                       identifier: 'EmailToSender'
185
186                     20:
187                       __inheritances:
188                         10: 'TYPO3.CMS.Form.mixins.formElementMixins.formEmailFinisherMixin'
189                       identifier: 'EmailToReceiver'
190                       editors:
191                         100:
192                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.header.label'
193                         200:
194                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.subject.label'
195                         300:
196                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.recipientAddress.label'
197                         400:
198                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.recipientName.label'
199                         500:
200                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.senderAddress.label'
201                         600:
202                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.senderName.label'
203                         700:
204                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.replyToAddress.label'
205                         800:
206                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.carbonCopyAddress.label'
207                         900:
208                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.blindCarbonCopyAddress.label'
209                         1000:
210                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.format.label'
211                         1100:
212                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.attachUploads.label'
213                         1200:
214                           identifier: 'language'
215                           templateName: 'Inspector-SingleSelectEditor'
216                           label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.language.label'
217                           propertyPath: 'options.translation.language'
218                           selectOptions:
219                             10:
220                               value: 'default'
221                               label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.language.1'
222
223                     30:
224                       identifier: 'Redirect'
225                       editors:
226                         __inheritances:
227                           10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
228                         100:
229                           label: 'formEditor.elements.Form.finisher.Redirect.editor.header.label'
230                         200:
231                           identifier: 'pageUid'
232                           templateName: 'Inspector-Typo3WinBrowserEditor'
233                           label: 'formEditor.elements.Form.finisher.Redirect.editor.pageUid.label'
234                           buttonLabel: 'formEditor.elements.Form.finisher.Redirect.editor.pageUid.buttonLabel'
235                           browsableType: pages
236                           propertyPath: 'options.pageUid'
237                           propertyValidatorsMode: 'OR'
238                           propertyValidators:
239                             10: 'Integer'
240                             20: 'FormElementIdentifierWithinCurlyBracesExclusive'
241
242                         300:
243                           identifier: 'additionalParameters'
244                           templateName: 'Inspector-TextEditor'
245                           label: 'formEditor.elements.Form.finisher.Redirect.editor.additionalParameters.label'
246                           propertyPath: 'options.additionalParameters'
247
248                     40:
249                       identifier: 'DeleteUploads'
250                       editors:
251                         __inheritances:
252                           10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
253                         100:
254                           label: 'formEditor.elements.Form.finisher.DeleteUploads.editor.header.label'
255
256                     50:
257                       identifier: 'Confirmation'
258                       editors:
259                         __inheritances:
260                           10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
261                         100:
262                           label: 'formEditor.elements.Form.finisher.Confirmation.editor.header.label'
263
264                     60:
265                       identifier: 'Closure'
266                       editors:
267                         __inheritances:
268                           10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
269                         100:
270                           label: 'formEditor.elements.Form.finisher.Closure.editor.header.label'
271
272                     70:
273                       identifier: 'FlashMessage'
274                       editors:
275                         __inheritances:
276                           10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
277                         100:
278                           label: 'formEditor.elements.Form.finisher.FlashMessage.editor.header.label'
279
280                     80:
281                       identifier: 'SaveToDatabase'
282                       editors:
283                         __inheritances:
284                           10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
285                         100:
286                           label: 'formEditor.elements.Form.finisher.SaveToDatabase.editor.header.label'
287
288             ### FORM ELEMENTS: CONTAINER ###
289             Fieldset:
290               formEditor:
291                 label: 'formEditor.elements.Fieldset.label'
292                 group: container
293                 groupSorting: 100
294                 _isCompositeFormElement: true
295                 iconIdentifier: 't3-form-icon-fieldset'
296                 editors:
297                   200:
298                     label: 'formEditor.elements.Fieldset.editor.label.label'
299                   800: null
300
301             ### FORM ELEMENTS: PAGE TYPES ###
302             Page:
303               formEditor:
304                 __inheritances:
305                   10: 'TYPO3.CMS.Form.mixins.formElementMixins.RemovableFormElementMixin'
306                 predefinedDefaults: []
307                 label: 'formEditor.elements.Page.label'
308                 group: page
309                 groupSorting: 100
310                 _isTopLevelFormElement: true
311                 _isCompositeFormElement: true
312                 iconIdentifier: 't3-form-icon-page'
313                 editors:
314                   200:
315                     label: 'formEditor.elements.Page.editor.label.label'
316
317             SummaryPage:
318               formEditor:
319                 predefinedDefaults: []
320                 label: 'formEditor.elements.SummaryPage.label'
321                 group: page
322                 groupSorting: 200
323                 _isTopLevelFormElement: true
324                 _isCompositeFormElement: false
325                 iconIdentifier: 't3-form-icon-summary-page'
326                 editors:
327                   200:
328                     label: 'formEditor.elements.SummaryPage.editor.label.label'
329
330             ### FORM ELEMENTS: INPUT ###
331
332             Text:
333               formEditor:
334                 label: 'formEditor.elements.Text.label'
335                 group: input
336                 groupSorting: 100
337                 iconIdentifier: 't3-form-icon-text'
338
339             Password:
340               formEditor:
341                 label: 'formEditor.elements.Password.label'
342                 group: input
343                 groupSorting: 300
344                 iconIdentifier: 't3-form-icon-password'
345
346             AdvancedPassword:
347               formEditor:
348                 label: 'formEditor.elements.AdvancedPassword.label'
349                 group: input
350                 groupSorting: 400
351                 predefinedDefaults:
352                   properties:
353                     confirmationLabel: 'formEditor.element.AdvancedPassword.editor.confirmationLabel.predefinedDefaults'
354                   defaultValue: null
355                 iconIdentifier: 't3-form-icon-advanced-password'
356                 editors:
357                   300:
358                     identifier: 'confirmationLabel'
359                     templateName: 'Inspector-TextEditor'
360                     label: 'formEditor.elements.AdvancedPassword.editor.confirmationLabel.label'
361                     propertyPath: 'properties.confirmationLabel'
362                   500: null
363
364             Hidden:
365               formEditor:
366                 label: 'formEditor.elements.Hidden.label'
367                 group: input
368                 groupSorting: 500
369                 iconIdentifier: 't3-form-icon-hidden'
370                 predefinedDefaults:
371                   defaultValue: ''
372                 editors:
373                   300:
374                     identifier: 'defaultValue'
375                     templateName: 'Inspector-TextEditor'
376                     label: 'formEditor.elements.Hidden.editor.defaultValue.label'
377                     propertyPath: 'defaultValue'
378                   800: null
379
380             Textarea:
381               formEditor:
382                 label: 'formEditor.elements.Textarea.label'
383                 group: input
384                 groupSorting: 200
385                 iconIdentifier: 't3-form-icon-textarea'
386                 editors:
387                   600: null
388                   900:
389                     selectOptions:
390                       # remove email validator
391                       50: null
392
393             ### FORM ELEMENTS: SELECT ###
394             Checkbox:
395               formEditor:
396                 label: 'formEditor.elements.Checkbox.label'
397                 group: select
398                 groupSorting: 100
399                 iconIdentifier: 't3-form-icon-checkbox'
400
401             MultiCheckbox:
402               formEditor:
403                 label: 'formEditor.elements.MultiCheckbox.label'
404                 group: select
405                 groupSorting: 500
406                 iconIdentifier: 't3-form-icon-multi-checkbox'
407
408             MultiSelect:
409               formEditor:
410                 label: 'formEditor.elements.MultiSelect.label'
411                 group: select
412                 groupSorting: 400
413                 iconIdentifier: 't3-form-icon-multi-select'
414
415             RadioButton:
416               formEditor:
417                 label: 'formEditor.elements.RadioButton.label'
418                 group: select
419                 groupSorting: 300
420                 iconIdentifier: 't3-form-icon-radio-button'
421
422             SingleSelect:
423               formEditor:
424                 label: 'formEditor.elements.SingleSelect.label'
425                 group: select
426                 groupSorting: 200
427                 iconIdentifier: 't3-form-icon-single-select'
428
429             ### FORM ELEMENTS: CUSTOM ###
430             DatePicker:
431               formEditor:
432                 label: 'formEditor.elements.DatePicker.label'
433                 group: custom
434                 groupSorting: 100
435                 predefinedDefaults:
436                   properties:
437                     dateFormat: 'Y-m-d'
438                     enableDatePicker: true
439                     displayTimeSelector: false
440                 iconIdentifier: 't3-form-icon-date-picker'
441                 editors:
442                   300:
443                     identifier: 'dateFormat'
444                     templateName: 'Inspector-TextEditor'
445                     label: 'formEditor.elements.DatePicker.editor.dateFormat.label'
446                     propertyPath: 'properties.dateFormat'
447                   400:
448                     identifier: 'enableDatePicker'
449                     templateName: 'Inspector-CheckboxEditor'
450                     label: 'formEditor.elements.DatePicker.editor.enableDatePicker.label'
451                     propertyPath: 'properties.enableDatePicker'
452                   500:
453                     identifier: 'displayTimeSelector'
454                     templateName: 'Inspector-CheckboxEditor'
455                     label: 'formEditor.elements.DatePicker.editor.displayTimeSelector.label'
456                     propertyPath: 'properties.displayTimeSelector'
457                   900:
458                     identifier: 'validators'
459                     templateName: 'Inspector-ValidatorsEditor'
460                     label: 'formEditor.elements.DatePicker.editor.validators.label'
461                     selectOptions:
462                       10:
463                         value: ''
464                         label: 'formEditor.elements.DatePicker.editor.validators.EmptyValue.label'
465                       20:
466                         value: 'DateTime'
467                         label: 'formEditor.elements.DatePicker.editor.validators.DateTime.label'
468
469                 propertyCollections:
470                   validators:
471                     10:
472                       identifier: 'DateTime'
473                       editors:
474                         __inheritances:
475                           10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
476                         100:
477                           label: 'formEditor.elements.DatePicker.validators.DateTime.editor.header.label'
478
479             StaticText:
480               formEditor:
481                 label: 'formEditor.elements.StaticText.label'
482                 group: custom
483                 groupSorting: 400
484                 predefinedDefaults:
485                   properties:
486                     text: ''
487                 iconIdentifier: 't3-form-icon-static-text'
488                 editors:
489                   300:
490                     identifier: 'staticText'
491                     templateName: 'Inspector-TextareaEditor'
492                     label: 'formEditor.elements.StaticText.editor.staticText.label'
493                     propertyPath: 'properties.text'
494
495             ContentElement:
496               formEditor:
497                 label: 'formEditor.elements.ContentElement.label'
498                 group: custom
499                 groupSorting: 500
500                 predefinedDefaults:
501                   properties:
502                     contentElementUid: ''
503                 iconIdentifier: 't3-form-icon-content-element'
504                 editors:
505                   200: null
506                   300:
507                     identifier: 'contentElement'
508                     templateName: 'Inspector-Typo3WinBrowserEditor'
509                     label: 'formEditor.elements.ContentElement.editor.contentElement.label'
510                     buttonLabel: 'formEditor.elements.ContentElement.editor.contentElement.buttonLabel'
511                     browsableType: tt_content
512                     propertyPath: 'properties.contentElementUid'
513                     propertyValidatorsMode: 'OR'
514                     propertyValidators:
515                       10: 'Integer'
516                       20: 'FormElementIdentifierWithinCurlyBracesExclusive'
517
518             ### FORM ELEMENTS: UPLOADS ###
519             FileUpload:
520               formEditor:
521                 label: 'formEditor.elements.FileUpload.label'
522                 group: custom
523                 groupSorting: 200
524                 predefinedDefaults:
525                   properties:
526                     allowedMimeTypes: ['application/pdf']
527                 iconIdentifier: 't3-form-icon-file-upload'
528                 editors:
529                   300:
530                     identifier: 'allowedMimeTypes'
531                     templateName: 'Inspector-MultiSelectEditor'
532                     label: 'formEditor.elements.FileUpload.editor.allowedMimeTypes.label'
533                     propertyPath: 'properties.allowedMimeTypes'
534                     selectOptions:
535                       10:
536                         value: 'application/msword'
537                         label: 'formEditor.elements.FileUpload.editor.allowedMimeTypes.doc'
538                       20:
539                         value: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
540                         label: 'formEditor.elements.FileUpload.editor.allowedMimeTypes.docx'
541                       30:
542                         value: 'application/msexcel'
543                         label: 'formEditor.elements.FileUpload.editor.allowedMimeTypes.xls'
544                       40:
545                         value: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
546                         label: 'formEditor.elements.FileUpload.editor.allowedMimeTypes.xlsx'
547                       50:
548                         value: 'application/pdf'
549                         label: 'formEditor.elements.FileUpload.editor.allowedMimeTypes.pdf'
550                       60:
551                         value: 'application/vnd.oasis.opendocument.text'
552                         label: 'formEditor.elements.FileUpload.editor.allowedMimeTypes.odt'
553                       70:
554                         value: 'application/vnd.oasis.opendocument.spreadsheet-template'
555                         label: 'formEditor.elements.FileUpload.editor.allowedMimeTypes.ods'
556
557             ImageUpload:
558               formEditor:
559                 label: 'formEditor.elements.ImageUpload.label'
560                 group: custom
561                 groupSorting: 300
562                 predefinedDefaults:
563                   properties:
564                     allowedMimeTypes: ['image/jpeg']
565                 iconIdentifier: 't3-form-icon-image-upload'
566                 editors:
567                   300:
568                     identifier: 'allowedMimeTypes'
569                     templateName: 'Inspector-MultiSelectEditor'
570                     label: 'formEditor.elements.ImageUpload.editor.allowedMimeTypes.label'
571                     propertyPath: 'properties.allowedMimeTypes'
572                     selectOptions:
573                       10:
574                         value: 'image/jpeg'
575                         label: 'formEditor.elements.ImageUpload.editor.allowedMimeTypes.jpg'
576                       20:
577                         value: 'image/png'
578                         label: 'formEditor.elements.ImageUpload.editor.allowedMimeTypes.png'
579                       30:
580                         value: 'image/bmp'
581                         label: 'formEditor.elements.ImageUpload.editor.allowedMimeTypes.bmp'
582
583           ### FINISHERS ###
584           finishersDefinition:
585             EmailToSender:
586               formEditor:
587                 iconIdentifier: 't3-form-icon-finisher'
588                 label: 'formEditor.elements.Form.finisher.EmailToSender.editor.header.label'
589                 predefinedDefaults:
590                   options:
591                     subject: ''
592                     recipientAddress: ''
593                     recipientName: ''
594                     senderAddress: ''
595                     senderName: ''
596                     replyToAddress: ''
597                     carbonCopyAddress: ''
598                     blindCarbonCopyAddress: ''
599                     format: 'html'
600                     attachUploads: true
601
602             EmailToReceiver:
603               formEditor:
604                 iconIdentifier: 't3-form-icon-finisher'
605                 label: 'formEditor.elements.Form.finisher.EmailToReceiver.editor.header.label'
606                 predefinedDefaults:
607                   options:
608                     subject: ''
609                     recipientAddress: ''
610                     recipientName: ''
611                     senderAddress: ''
612                     senderName: ''
613                     replyToAddress: ''
614                     carbonCopyAddress: ''
615                     blindCarbonCopyAddress: ''
616                     format: 'html'
617                     attachUploads: true
618                     translation:
619                       language: ''
620
621             Redirect:
622               formEditor:
623                 iconIdentifier: 't3-form-icon-finisher'
624                 label: 'formEditor.elements.Form.finisher.Redirect.editor.header.label'
625                 predefinedDefaults:
626                   options:
627                     pageUid: ''
628                     additionalParameters: ''
629
630             Closure:
631               formEditor:
632                 iconIdentifier: 't3-form-icon-finisher'
633                 label: 'formEditor.elements.Form.finisher.Closure.editor.header.label'
634                 predefinedDefaults:
635                   options:
636                     closure: ''
637
638             Confirmation:
639               formEditor:
640                 iconIdentifier: 't3-form-icon-finisher'
641                 label: 'formEditor.elements.Form.finisher.Confirmation.editor.header.label'
642                 predefinedDefaults:
643                   options:
644                     message: ''
645
646             FlashMessage:
647               formEditor:
648                 iconIdentifier: 't3-form-icon-finisher'
649                 label: 'formEditor.elements.Form.finisher.FlashMessage.editor.header.label'
650                 predefinedDefaults:
651                   options:
652                     messageBody: ''
653                     messageTitle: ''
654                     messageArguments: ''
655                     messageCode: 0
656                     severity: 0
657
658             SaveToDatabase:
659               formEditor:
660                 iconIdentifier: 't3-form-icon-finisher'
661                 label: 'formEditor.elements.Form.finisher.SaveToDatabase.editor.header.label'
662                 predefinedDefaults:
663                   options: []
664
665             DeleteUploads:
666               formEditor:
667                 iconIdentifier: 't3-form-icon-finisher'
668                 label: 'formEditor.elements.Form.finisher.DeleteUploads.editor.header.label'
669
670           ### VALIDATORS ###
671           validatorsDefinition:
672             NotEmpty:
673               formEditor:
674                 iconIdentifier: 't3-form-icon-validator'
675                 label : 'formEditor.elements.FormElement.editor.requiredValidator.label'
676             DateTime:
677               formEditor:
678                 iconIdentifier: 't3-form-icon-validator'
679                 label: 'formEditor.elements.DatePicker.validators.DateTime.editor.header.label'
680             Alphanumeric:
681               formEditor:
682                 iconIdentifier: 't3-form-icon-validator'
683                 label: 'formEditor.elements.TextMixin.editor.validators.Alphanumeric.label'
684             Text:
685               formEditor:
686                 iconIdentifier: 't3-form-icon-validator'
687                 label: 'formEditor.elements.TextMixin.editor.validators.Text.label'
688             StringLength:
689               formEditor:
690                 iconIdentifier: 't3-form-icon-validator'
691                 label: 'formEditor.elements.TextMixin.editor.validators.StringLength.label'
692                 predefinedDefaults:
693                   options:
694                     minimum: ''
695                     maximum: ''
696             EmailAddress:
697               formEditor:
698                 iconIdentifier: 't3-form-icon-validator'
699                 label: 'formEditor.elements.TextMixin.editor.validators.EmailAddress.label'
700             Integer:
701               formEditor:
702                 iconIdentifier: 't3-form-icon-validator'
703                 label: 'formEditor.elements.TextMixin.editor.validators.Integer.label'
704             Float:
705               formEditor:
706                 iconIdentifier: 't3-form-icon-validator'
707                 label: 'formEditor.elements.TextMixin.editor.validators.Float.label'
708             NumberRange:
709               formEditor:
710                 iconIdentifier: 't3-form-icon-validator'
711                 label: 'formEditor.elements.TextMixin.editor.validators.NumberRange.label'
712                 predefinedDefaults:
713                   options:
714                     minimum: ''
715                     maximum: ''
716             RegularExpression:
717               formEditor:
718                 iconIdentifier: 't3-form-icon-validator'
719                 label: 'formEditor.elements.TextMixin.editor.validators.RegularExpression.label'
720                 predefinedDefaults:
721                   options:
722                     regularExpression: ''
723             Count:
724               formEditor:
725                 iconIdentifier: 't3-form-icon-validator'
726                 label: 'formEditor.elements.MultiSelectionMixin.validators.Count.editor.header.label'
727                 predefinedDefaults:
728                   options:
729                     minimum: ''
730                     maximum: ''
731
732       ########### MIXINS ###########
733       mixins:
734         ########### FORM ELEMENT MIXINS ###########
735         formElementMixins:
736           BaseFormElementMixin:
737             formEditor:
738               predefinedDefaults: []
739               editors:
740                 100:
741                   identifier: 'header'
742                   templateName: 'Inspector-FormElementHeaderEditor'
743                 200:
744                   identifier: 'label'
745                   templateName: 'Inspector-TextEditor'
746                   label: 'formEditor.elements.BaseFormElementMixin.editor.label.label'
747                   propertyPath: 'label'
748
749           RemoveButtonMixin:
750             9999:
751               identifier: 'removeButton'
752               templateName: 'Inspector-RemoveElementEditor'
753
754           RemovableFormElementMixin:
755             editors:
756               __inheritances:
757                 10: 'TYPO3.CMS.Form.mixins.formElementMixins.RemoveButtonMixin'
758
759           BaseCollectionEditorsMixin:
760             __inheritances:
761               10: 'TYPO3.CMS.Form.mixins.formElementMixins.RemoveButtonMixin'
762             100:
763               identifier: 'header'
764               templateName: 'Inspector-CollectionElementHeaderEditor'
765               label: ''
766
767           MinimumMaximumEditorsMixin:
768             200:
769               identifier: 'minimum'
770               templateName: 'Inspector-TextEditor'
771               label: 'formEditor.elements.MinimumMaximumEditorsMixin.editor.minimum.label'
772               propertyPath: 'options.minimum'
773               propertyValidatorsMode: 'OR'
774               propertyValidators:
775                 10: 'Integer'
776                 20: 'FormElementIdentifierWithinCurlyBracesExclusive'
777             300:
778               identifier: 'maximum'
779               templateName: 'Inspector-TextEditor'
780               label: 'formEditor.elements.MinimumMaximumEditorsMixin.editor.maximum.label'
781               propertyPath: 'options.maximum'
782               propertyValidatorsMode: 'OR'
783               propertyValidators:
784                 10: 'Integer'
785                 20: 'FormElementIdentifierWithinCurlyBracesExclusive'
786
787           ReadOnlyFormElementMixin:
788             formEditor:
789               __inheritances:
790                 10: 'TYPO3.CMS.Form.mixins.formElementMixins.RemovableFormElementMixin'
791               editors:
792                 200:
793                   label: 'formEditor.elements.ReadOnlyFormElement.editor.label.label'
794
795           FormElementMixin:
796             formEditor:
797               __inheritances:
798                 10: 'TYPO3.CMS.Form.mixins.formElementMixins.RemovableFormElementMixin'
799               editors:
800                 200:
801                   label: 'formEditor.elements.FormElement.editor.label.label'
802                 800:
803                   identifier: 'requiredValidator'
804                   templateName: 'Inspector-RequiredValidatorEditor'
805                   label: 'formEditor.elements.FormElement.editor.requiredValidator.label'
806                   validatorIdentifier: 'NotEmpty'
807                   propertyPath: 'properties.fluidAdditionalAttributes.required'
808                   propertyValue: 'required'
809
810           TextMixin:
811             formEditor:
812               predefinedDefaults:
813                 defaultValue: ''
814               editors:
815                 400:
816                   identifier: 'placeholder'
817                   templateName: 'Inspector-TextEditor'
818                   label: 'formEditor.elements.TextMixin.editor.placeholder.label'
819                   propertyPath: 'properties.fluidAdditionalAttributes.placeholder'
820                   compatibilityPropertyPath: 'properties.placeholder'
821                   doNotSetIfPropertyValueIsEmpty: true
822                 500:
823                   identifier: 'defaultValue'
824                   templateName: 'Inspector-TextEditor'
825                   label: 'formEditor.elements.TextMixin.editor.defaultValue.label'
826                   propertyPath: 'defaultValue'
827                 900:
828                   identifier: 'validators'
829                   templateName: 'Inspector-ValidatorsEditor'
830                   label: 'formEditor.elements.TextMixin.editor.validators.label'
831                   selectOptions:
832                     10:
833                       value: ''
834                       label: 'formEditor.elements.TextMixin.editor.validators.EmptyValue.label'
835                     20:
836                       value: 'Alphanumeric'
837                       label: 'formEditor.elements.TextMixin.editor.validators.Alphanumeric.label'
838                     30:
839                       value: 'Text'
840                       label: 'formEditor.elements.TextMixin.editor.validators.Text.label'
841                     40:
842                       value: 'StringLength'
843                       label: 'formEditor.elements.TextMixin.editor.validators.StringLength.label'
844                     50:
845                       value: 'EmailAddress'
846                       label: 'formEditor.elements.TextMixin.editor.validators.EmailAddress.label'
847                     60:
848                       value: 'Integer'
849                       label: 'formEditor.elements.TextMixin.editor.validators.Integer.label'
850                     70:
851                       value: 'Float'
852                       label: 'formEditor.elements.TextMixin.editor.validators.Float.label'
853                     80:
854                       value: 'NumberRange'
855                       label: 'formEditor.elements.TextMixin.editor.validators.NumberRange.label'
856                     90:
857                       value: 'RegularExpression'
858                       label: 'formEditor.elements.TextMixin.editor.validators.RegularExpression.label'
859
860               propertyCollections:
861                 validators:
862                   10:
863                     identifier: 'Alphanumeric'
864                     editors:
865                       __inheritances:
866                         10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
867                       100:
868                         label: 'formEditor.elements.TextMixin.validators.Alphanumeric.editor.header.label'
869                   20:
870                     identifier: 'Text'
871                     editors:
872                       __inheritances:
873                         10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
874                       100:
875                         label: 'formEditor.elements.TextMixin.validators.Text.editor.header.label'
876                   30:
877                     identifier: 'StringLength'
878                     editors:
879                       __inheritances:
880                         10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
881                         20: 'TYPO3.CMS.Form.mixins.formElementMixins.MinimumMaximumEditorsMixin'
882                       100:
883                         label: 'formEditor.elements.TextMixin.validators.StringLength.editor.header.label'
884                   40:
885                     identifier: 'EmailAddress'
886                     editors:
887                       __inheritances:
888                         10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
889                       100:
890                         label: 'formEditor.elements.TextMixin.validators.EmailAddress.editor.header.label'
891                   50:
892                     identifier: 'Integer'
893                     editors:
894                       __inheritances:
895                         10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
896                       100:
897                         label: 'formEditor.elements.TextMixin.validators.Integer.editor.header.label'
898                   60:
899                     identifier: 'Float'
900                     editors:
901                       __inheritances:
902                         10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
903                       100:
904                         label: 'formEditor.elements.TextMixin.validators.Float.editor.header.label'
905                   70:
906                     identifier: 'NumberRange'
907                     editors:
908                       __inheritances:
909                         10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
910                         20: 'TYPO3.CMS.Form.mixins.formElementMixins.MinimumMaximumEditorsMixin'
911                       100:
912                         label: 'formEditor.elements.TextMixin.validators.NumberRange.editor.header.label'
913                   80:
914                     identifier: 'RegularExpression'
915                     editors:
916                       __inheritances:
917                         10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
918                       100:
919                         label: 'formEditor.elements.TextMixin.validators.RegularExpression.editor.header.label'
920                       200:
921                         identifier: 'regex'
922                         templateName: 'Inspector-TextEditor'
923                         label: 'formEditor.elements.TextMixin.validators.RegularExpression.editor.regex.label'
924                         fieldExplanationText: 'formEditor.elements.TextMixin.validators.RegularExpression.editor.regex.fieldExplanationText'
925                         propertyPath: 'options.regularExpression'
926                         propertyValidators:
927                           10: 'NotEmpty'
928
929           SelectionMixin:
930             formEditor:
931               predefinedDefaults:
932                 properties:
933                   options: []
934               editors:
935                 300:
936                   identifier: 'options'
937                   templateName: 'Inspector-PropertyGridEditor'
938                   label: 'formEditor.elements.SelectionMixin.editor.options.label'
939                   propertyPath: 'properties.options'
940                   isSortable: true
941                   enableAddRow: true
942                   enableDeleteRow: true
943                   removeLastAvailableRowFlashMessageTitle: 'formEditor.elements.SelectionMixin.editor.options.removeLastAvailableRowFlashMessageTitle'
944                   removeLastAvailableRowFlashMessageMessage: 'formEditor.elements.SelectionMixin.editor.options.removeLastAvailableRowFlashMessageMessage'
945
946           SingleSelectionMixin:
947             formEditor:
948               editors:
949                 300:
950                   shouldShowPreselectedValueColumn: 'single'
951                   multiSelection: false
952
953           MultiSelectionMixin:
954             formEditor:
955               editors:
956                 300:
957                   shouldShowPreselectedValueColumn: 'multiple'
958                   multiSelection: true
959                 900:
960                   identifier: 'validators'
961                   templateName: 'Inspector-ValidatorsEditor'
962                   label: 'formEditor.elements.MultiSelectionMixin.editor.validators.label'
963                   selectOptions:
964                     10:
965                       value: ''
966                       label: 'formEditor.elements.MultiSelectionMixin.editor.validators.EmptyValue.label'
967                     20:
968                       value: 'Count'
969                       label: 'formEditor.elements.MultiSelectionMixin.editor.validators.Count.label'
970
971               propertyCollections:
972                 validators:
973                   10:
974                     identifier: 'Count'
975                     editors:
976                       __inheritances:
977                         10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
978                         20: 'TYPO3.CMS.Form.mixins.formElementMixins.MinimumMaximumEditorsMixin'
979                       100:
980                         label: 'formEditor.elements.MultiSelectionMixin.validators.Count.editor.header.label'
981
982           FileUploadMixin:
983             formEditor:
984               predefinedDefaults:
985                 properties:
986                   saveToFileMount: '1:/user_upload/'
987               editors:
988                 400:
989                   identifier: 'saveToFileMount'
990                   templateName: 'Inspector-SingleSelectEditor'
991                   label: 'formEditor.elements.FileUploadMixin.editor.saveToFileMount.label'
992                   propertyPath: 'properties.saveToFileMount'
993                   selectOptions:
994                     10:
995                       value: '1:/user_upload/'
996                       label: '1:/user_upload/'
997
998           formEmailFinisherMixin:
999             editors:
1000               __inheritances:
1001                 10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
1002               100:
1003                 label: 'formEditor.elements.Form.finisher.EmailToSender.editor.header.label'
1004               200:
1005                 identifier: 'subject'
1006                 templateName: 'Inspector-TextEditor'
1007                 label: 'formEditor.elements.Form.finisher.EmailToSender.editor.subject.label'
1008                 propertyPath: 'options.subject'
1009                 enableFormelementSelectionButton: true
1010                 propertyValidators:
1011                   10: 'NotEmpty'
1012                   20: 'FormElementIdentifierWithinCurlyBracesInclusive'
1013               300:
1014                 identifier: 'recipientAddress'
1015                 templateName: 'Inspector-TextEditor'
1016                 label: 'formEditor.elements.Form.finisher.EmailToSender.editor.recipientAddress.label'
1017                 propertyPath: 'options.recipientAddress'
1018                 enableFormelementSelectionButton: true
1019                 propertyValidatorsMode: 'OR'
1020                 propertyValidators:
1021                   10: 'NaiveEmail'
1022                   20: 'FormElementIdentifierWithinCurlyBracesExclusive'
1023               400:
1024                 identifier: 'recipientName'
1025                 templateName: 'Inspector-TextEditor'
1026                 label: 'formEditor.elements.Form.finisher.EmailToSender.editor.recipientName.label'
1027                 propertyPath: 'options.recipientName'
1028                 enableFormelementSelectionButton: true
1029                 propertyValidators:
1030                   10: 'FormElementIdentifierWithinCurlyBracesInclusive'
1031               500:
1032                 identifier: 'senderAddress'
1033                 templateName: 'Inspector-TextEditor'
1034                 label: 'formEditor.elements.Form.finisher.EmailToSender.editor.senderAddress.label'
1035                 propertyPath: 'options.senderAddress'
1036                 enableFormelementSelectionButton: true
1037                 propertyValidatorsMode: 'OR'
1038                 propertyValidators:
1039                   10: 'NaiveEmail'
1040                   20: 'FormElementIdentifierWithinCurlyBracesExclusive'
1041               600:
1042                 identifier: 'senderName'
1043                 templateName: 'Inspector-TextEditor'
1044                 label: 'formEditor.elements.Form.finisher.EmailToSender.editor.senderName.label'
1045                 propertyPath: 'options.senderName'
1046                 enableFormelementSelectionButton: true
1047                 propertyValidators:
1048                   10: 'FormElementIdentifierWithinCurlyBracesInclusive'
1049               700:
1050                 identifier: 'replyToAddress'
1051                 templateName: 'Inspector-TextEditor'
1052                 label: 'formEditor.elements.Form.finisher.EmailToSender.editor.replyToAddress.label'
1053                 propertyPath: 'options.replyToAddress'
1054                 enableFormelementSelectionButton: true
1055                 propertyValidatorsMode: 'OR'
1056                 propertyValidators:
1057                   10: 'NaiveEmailOrEmpty'
1058                   20: 'FormElementIdentifierWithinCurlyBracesExclusive'
1059               800:
1060                 identifier: 'carbonCopyAddress'
1061                 templateName: 'Inspector-TextEditor'
1062                 label: 'formEditor.elements.Form.finisher.EmailToSender.editor.carbonCopyAddress.label'
1063                 propertyPath: 'options.carbonCopyAddress'
1064                 enableFormelementSelectionButton: true
1065                 propertyValidatorsMode: 'OR'
1066                 propertyValidators:
1067                   10: 'NaiveEmailOrEmpty'
1068                   20: 'FormElementIdentifierWithinCurlyBracesExclusive'
1069               900:
1070                 identifier: 'blindCarbonCopyAddress'
1071                 templateName: 'Inspector-TextEditor'
1072                 label: 'formEditor.elements.Form.finisher.EmailToSender.editor.blindCarbonCopyAddress.label'
1073                 propertyPath: 'options.blindCarbonCopyAddress'
1074                 enableFormelementSelectionButton: true
1075                 propertyValidatorsMode: 'OR'
1076                 propertyValidators:
1077                   10: 'NaiveEmailOrEmpty'
1078                   20: 'FormElementIdentifierWithinCurlyBracesExclusive'
1079               1000:
1080                 identifier: 'format'
1081                 templateName: 'Inspector-SingleSelectEditor'
1082                 label: 'formEditor.elements.Form.finisher.EmailToSender.editor.format.label'
1083                 propertyPath: 'options.format'
1084                 selectOptions:
1085                   10:
1086                     value: 'plaintext'
1087                     label: 'formEditor.elements.Form.finisher.EmailToSender.editor.format.1'
1088                   20:
1089                     value: 'html'
1090                     label: 'formEditor.elements.Form.finisher.EmailToSender.editor.format.2'
1091               1100:
1092                 identifier: 'attachUploads'
1093                 templateName: 'Inspector-CheckboxEditor'
1094                 label: 'formEditor.elements.Form.finisher.EmailToSender.editor.attachUploads.label'
1095                 propertyPath: 'options.attachUploads'