[TASK] Fix typos in EXT:form
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Configuration / TypoScript / setup.txt
1 # Replace rendering of old mailform
2
3 tt_content.mailform >
4 tt_content.mailform = COA
5 tt_content.mailform.10 = < lib.stdheader
6 tt_content.mailform.20 = FORM
7 tt_content.mailform.20 {
8 stdWrap.wrap = <div class="csc-mailform">|</div>
9 stdWrap {
10 editIcons = tt_content: bodytext
11 editIcons.iconTitle.data = LLL:EXT:css_styled_content/pi1/locallang.xlf:eIcon.form
12 prefixComment = 2 | Mail form inserted:
13 }
14 }
15
16 lib.tx_form.html.universalAttributes {
17 10 = id
18 20 = class
19 30 = accesskey
20 40 = contenteditable
21 50 = contextmenu
22 60 = dir
23 70 = draggable
24 80 = dropzone
25 90 = hidden
26 100 = lang
27 110 = spellcheck
28 120 = style
29 130 = tabindex
30 140 = title
31 150 = data-*
32 }
33
34 lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractTagBasedViewHelper {
35 10 = class
36 20 = dir
37 30 = id
38 40 = lang
39 50 = style
40 60 = title
41 70 = accesskey
42 80 = tabindex
43 90 = onclick
44 }
45
46 lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractTagBasedViewHelper
47 lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper {
48 150 = name
49 160 = value
50 }
51
52 lib.tx_form.registeredElements.defaultModelDescription {
53 # compatibilityMode
54 # Used by: frontend
55 # Overwritable by user: TRUE
56 #
57 # If set to 1 tx_form acts almost like in TYPO3 6.2.
58 # This setting can be overwritten in the FORM object.
59 # @ToDo: add more details
60 compatibilityMode = 1
61
62 # themeName
63 # Used by: frontend, wizard (not implemented right now)
64 # Overwritable by user: TRUE
65 #
66 # Sets the theme name used for templating.
67 # Right now there are 2 themes:
68 # * Default: This theme provides a solid and clean foundation and should be used.
69 # * Compatibility: This theme imitates the form layout/ behavior of TYPO3 6.2.
70 # If compatibilityMode = 1 and layout is used in the user definded TypoScript
71 # the theme name switches automatically to "Compatibility".
72 #
73 # This setting can be overwritten in the FORM object.
74 # @ToDo: add more details
75 themeName = Default
76
77 # htmlAttributes
78 # Used by: frontend, wizard (not implemented right now)
79 # Overwritable by user: FALSE
80 #
81 # Defines allowed HTML attributes for a specific element.
82 # Based on selfhtml documentation version 8.1.2 (see http://wiki.selfhtml.org/wiki/Referenz:HTML/).
83 # This is needed to detect and map these strings within the user configured element definition as HTML attributes.
84 # As soon as prefix-* is defined every attribute is registered automatically as HTML attribute.
85 htmlAttributes =< lib.tx_form.html.universalAttributes
86
87 # defaultHtmlAttributeValues
88 # Used by: frontend, wizard (not implemented right now)
89 # Overwritable by user: FALSE
90 #
91 # The following values are set if there is no entry in the user configured element.
92 defaultHtmlAttributeValues =
93
94 # fixedHtmlAttributeValues
95 # Used by: frontend, wizard (not implemented right now)
96 # Overwritable by user: FALSE
97 #
98 # The following values are automatically set as attributes.
99 fixedHtmlAttributeValues =
100
101 # htmlAttributesUsedByTheViewHelperDirectly
102 # Used by: frontend
103 # Overwritable by user: FALSE
104 #
105 # Each HTML attribute defined at ".htmlAttributes" is available as array within the model.
106 # This array will be added to the resulting HTML tag.
107 # For this purpose the Fluid argument "additionalAttributes" of the ViewHelper is used.
108 #
109 # Some HTML attributes have to be assigned directly as an argument to the ViewHelper.
110 # The htmlAttributesUsedByTheViewHelperDirectly map is used to remove the specified
111 # HTML attribute from the "htmlAttributes" array and sets it for the model's "additionalArguments" array.
112 #
113 # There are two attributes which special behavior:
114 # * disabled
115 # * readonly
116 # These attributes can be assigned to the most ViewHelpers but whenever a "disabled" attribute appears
117 # the browser will disable this element no matter of the value.
118 # See: https://forge.typo3.org/issues/42474
119 # Therefore it is held in the htmlAttributes array and the code removes this attribute if its value is set to 0.
120 htmlAttributesUsedByTheViewHelperDirectly =
121
122 # name
123 # Used by: frontend, wizard (not implemented right now)
124 # Overwritable by user: TRUE
125 #
126 # Sets the name of the element.
127 # If the name is not defined it is automatically generated
128 # using the following syntax: id-{element_counter}.
129 # The name attribute will be transformed if it contains some
130 # non allowed characters:
131 # * spaces are changed into hyphens
132 # * remove all characters except a-z A-Z 0-9 _ -
133 name =
134
135 # id
136 # Used by: frontend, wizard (not implemented right now)
137 # Overwritable by user: TRUE
138 #
139 # Sets the id of the element.
140 # If the id is not defined it is automatically generated
141 # using the following syntax: field-{element_counter}.
142 # The id attribute will be transformed if it contains some
143 # non allowed characters:
144 # * spaces are changed into hyphens
145 # * if the id starts with an integer then transform it to field-{integer}
146 # * remove all characters expect a-z A-Z 0-9 _ - : .
147 id =
148
149 # partialPath
150 # Used by: frontend, wizard (not implemented right now)
151 # Overwritable by user: TRUE
152 #
153 # The defined partial is used to render the element.
154 # The partial paths to the element are build based on the following rule:
155 # {$plugin.tx_form.view.partialRootPath}/{$themeName}/@actionName/{$partialPath}.
156 partialPath =
157
158 # viewHelperDefaultArguments
159 # Used by: frontend
160 # Overwritable by user: FALSE
161 #
162 # This helper array is used to cast some values needed by the ViewHelpers.
163 # E.g the f:form ViewHelper needs an array for the
164 # argument "additionalParams". If additionalParams is not set
165 # in the userdefined TypoScript this results in a NULL value in the
166 # templating variable "{model.additionalArguments.additionalParams}"
167 # and this throws an error. Most of the ViewHelper arguments
168 # are strings and/ or can handle such NULL values but there are some
169 # ViewHelpers which need some type casting.
170 viewHelperDefaultArguments =
171
172 # childrenInheritName
173 # Used by: frontend
174 # Overwritable by user: FALSE
175 #
176 # If set to 1 all child elements inherit the name of the parent element.
177 # @ToDo: add more details
178 childrenInheritName = 0
179
180 # visibleInShowAction
181 # Used by: frontend
182 # Overwritable by user: TRUE
183 #
184 # If set to 1 this element is displayed in the form.
185 # @ToDo: add more details
186 visibleInShowAction = 1
187
188 # visibleInConfirmationAction
189 # Used by: frontend
190 # Overwritable by user: TRUE
191 #
192 # If set to 1 this element is displayed in the confirmation page.
193 # @ToDo: add more details
194 visibleInConfirmationAction = 1
195
196 # visibleInProcessAction
197 # Used by: frontend
198 # Overwritable by user: TRUE
199 #
200 # If set to 1 this element is displayed in the mail.
201 # @ToDo: add more details
202 visibleInMail = 1
203 }
204
205 plugin.tx_form {
206 view {
207 templateRootPaths {
208 10 = {$plugin.tx_form.view.templateRootPath}
209 }
210
211 partialRootPaths {
212 10 = {$plugin.tx_form.view.partialRootPath}
213 }
214
215 layoutRootPaths {
216 10 = {$plugin.tx_form.view.layoutRootPath}
217 }
218
219 # elementPartials
220 # Used by: frontend, wizard (not implemented right now)
221 # Overwritable by user: FALSE
222 #
223 # Defines the template selection array for the form wizard.
224 # Each defined item is shown as option within the wizard.
225 #
226 # If there is no partialPath property in the userdefined TypoScript
227 # then elementPartials.ELEMENTNAME.10.partialPath is the default.
228 elementPartials {
229 BUTTON {
230 10 {
231 displayName = Default
232 partialPath = FlatElements/Button
233 }
234 }
235
236 BUTTONTAG {
237 10 {
238 displayName = Default
239 partialPath = FlatElements/ButtonTag
240 }
241 }
242
243 CHECKBOX {
244 10 {
245 displayName = Default
246 partialPath = FlatElements/Checkbox
247 }
248 }
249
250 FILEUPLOAD {
251 10 {
252 displayName = Default
253 partialPath = FlatElements/Upload
254 }
255 }
256
257 FORM {
258 10 {
259 displayName = Default
260 partialPath = ContainerElements/Form
261 }
262 }
263
264 HIDDEN {
265 10 {
266 displayName = Default
267 partialPath = FlatElements/Hidden
268 }
269 }
270
271 INPUT {
272 10 {
273 displayName = Default
274 partialPath = FlatElements/Input
275 }
276 }
277
278 INPUTTYPEBUTTON {
279 10 {
280 displayName = Default
281 partialPath = FlatElements/InputTypeButton
282 }
283 }
284
285 IMAGEBUTTON {
286 10 {
287 displayName = Default
288 partialPath = FlatElements/Imagebutton
289 }
290 }
291
292 PASSWORD {
293 10 {
294 displayName = Default
295 partialPath = FlatElements/Password
296 }
297 }
298
299 RADIO {
300 10 {
301 displayName = Default
302 partialPath = FlatElements/Radio
303 }
304 }
305
306 RESET {
307 10 {
308 displayName = Default
309 partialPath = FlatElements/Reset
310 }
311 }
312
313 SELECT {
314 10 {
315 displayName = Default
316 partialPath = FlatElements/Select
317 }
318 }
319
320 SUBMIT {
321 10 {
322 displayName = Default
323 partialPath = FlatElements/Submit
324 }
325 }
326
327 TEXTLINE {
328 10 {
329 displayName = Default
330 partialPath = FlatElements/Textfield
331 }
332 }
333
334 FIELDSET {
335 10 {
336 displayName = Default
337 partialPath = ContainerElements/Fieldset
338 }
339 }
340
341 RADIOGROUP {
342 10 {
343 displayName = Default
344 partialPath = ContainerElements/Radiogroup
345 }
346 }
347
348 CHECKBOXGROUP {
349 10 {
350 displayName = Default
351 partialPath = ContainerElements/Checkboxgroup
352 }
353 }
354
355 HEADER {
356 10 {
357 displayName = Default
358 partialPath = FlatElements/Header
359 }
360 }
361
362 TEXTAREA {
363 10 {
364 displayName = Default
365 partialPath = FlatElements/Textarea
366 }
367 }
368
369 TEXTBLOCK {
370 10 {
371 displayName = Default
372 partialPath = FlatElements/Textblock
373 }
374 }
375
376 # special definitions for internal usage
377 LABEL {
378 10 {
379 displayName = Default
380 partialPath = AdditionalElements/Label
381 }
382 }
383 # useless for the wizard but needed for the frontend
384 CONTENTELEMENT {
385 10 {
386 displayName = Default
387 partialPath = FlatElements/ContentElement
388 }
389 }
390 }
391 }
392
393 settings {
394 # registeredValidators
395 # Used by: frontend, wizard (not implemented right now)
396 # Overwritable by user: FALSE
397 #
398 # The array holds all available validators.
399 # "displayName" is planned for the form wizard (not implemented right now).
400 registeredValidators {
401 alphabetic {
402 displayName = Alphabetic
403 className = TYPO3\CMS\Form\Domain\Validator\AlphabeticValidator
404 }
405
406 alphanumeric {
407 displayName = Alphanumeric
408 className = TYPO3\CMS\Form\Domain\Validator\AlphanumericValidator
409 }
410
411 between {
412 displayName = Between
413 className = TYPO3\CMS\Form\Domain\Validator\BetweenValidator
414 }
415
416 date {
417 displayName = Date
418 className = TYPO3\CMS\Form\Domain\Validator\DateValidator
419 }
420
421 digit {
422 displayName = Digit
423 className = TYPO3\CMS\Form\Domain\Validator\DigitValidator
424 }
425
426 email {
427 displayName = Email address
428 className = TYPO3\CMS\Form\Domain\Validator\EmailValidator
429 }
430
431 equals {
432 displayName = Equals
433 className = TYPO3\CMS\Form\Domain\Validator\EqualsValidator
434 }
435
436 fileallowedtypes {
437 displayName = Allowed mimetypes for file
438 className = TYPO3\CMS\Form\Domain\Validator\FileAllowedTypesValidator
439 }
440
441 filemaximumsize {
442 displayName = Maximum size for file (bytes)
443 className = TYPO3\CMS\Form\Domain\Validator\FileMaximumSizeValidator
444 }
445
446 fileminimumsize {
447 displayName = Minimum size for file (bytes)
448 className = TYPO3\CMS\Form\Domain\Validator\FileMinimumSizeValidator
449 }
450
451 float {
452 displayName = Float
453 className = TYPO3\CMS\Form\Domain\Validator\FloatValidator
454 }
455
456 greaterthan {
457 displayName = Greater than
458 className = TYPO3\CMS\Form\Domain\Validator\GreaterThanValidator
459 }
460
461 inarray {
462 displayName = In array
463 className = TYPO3\CMS\Form\Domain\Validator\InArrayValidator
464 }
465
466 integer {
467 displayName = Integer
468 className = TYPO3\CMS\Form\Domain\Validator\IntegerValidator
469 }
470
471 ip {
472 displayName = Ip address
473 className = TYPO3\CMS\Form\Domain\Validator\IpValidator
474 }
475
476 length {
477 displayName = Length
478 className = TYPO3\CMS\Form\Domain\Validator\LengthValidator
479 }
480
481 lessthan {
482 displayName = Less than
483 className = TYPO3\CMS\Form\Domain\Validator\LessThanValidator
484 }
485
486 regexp {
487 displayName = Regular Expression
488 className = TYPO3\CMS\Form\Domain\Validator\RegExpValidator
489 }
490
491 required {
492 displayName = Required
493 className = TYPO3\CMS\Form\Domain\Validator\RequiredValidator
494 }
495
496 uri {
497 displayName = Uniform Resource Identifier
498 className = TYPO3\CMS\Form\Domain\Validator\UriValidator
499 }
500 }
501
502 # registeredFilters
503 # Used by: frontend, wizard (not implemented right now)
504 # Overwritable by user: FALSE
505 #
506 # The array holds all available filters.
507 # "displayName" is planned for the wizard (not implemented right now).
508 registeredFilters {
509 alphabetic {
510 displayName = Alphabetic
511 className = TYPO3\CMS\Form\Domain\Filter\AlphabeticFilter
512 }
513
514 alphanumeric {
515 displayName = Alphanumeric
516 className = TYPO3\CMS\Form\Domain\Filter\AlphanumericFilter
517 }
518
519 currency {
520 displayName = Currency
521 className = TYPO3\CMS\Form\Domain\Filter\CurrencyFilter
522 }
523
524 digit {
525 displayName = Digit
526 className = TYPO3\CMS\Form\Domain\Filter\DigitFilter
527 }
528
529 integer {
530 displayName = Integer
531 className = TYPO3\CMS\Form\Domain\Filter\IntegerFilter
532 }
533
534 lowercase {
535 displayName = Lowercase
536 className = TYPO3\CMS\Form\Domain\Filter\LowerCaseFilter
537 }
538
539 regexp {
540 displayName = Regular Expression
541 className = TYPO3\CMS\Form\Domain\Filter\RegExpFilter
542 }
543
544 removexss {
545 displayName = Remove XSS
546 className = TYPO3\CMS\Form\Domain\Filter\RemoveXssFilter
547 }
548
549 stripnewlines {
550 displayName = Strip New Lines
551 className = TYPO3\CMS\Form\Domain\Filter\StripNewLinesFilter
552 }
553
554 titlecase {
555 displayName = Titlecase
556 className = TYPO3\CMS\Form\Domain\Filter\TitleCaseFilter
557 }
558
559 trim {
560 displayName = Trim
561 className = TYPO3\CMS\Form\Domain\Filter\TrimFilter
562 }
563
564 uppercase {
565 displayName = Uppercase
566 className = TYPO3\CMS\Form\Domain\Filter\UpperCaseFilter
567 }
568 }
569
570 # model definition
571 registeredElements {
572 # FORM
573 # Used by: frontend, wizard (not implemented right now)
574 # Overwritable by user: TRUE
575 # Used ViewHelper: f:form
576 #
577 # @ToDo: add more details
578 FORM =< lib.tx_form.registeredElements.defaultModelDescription
579 FORM {
580 htmlAttributes {
581 200 = action
582 210 = accept-charset
583 220 = autocomplete
584 230 = enctype
585 240 = method
586 250 = name
587 260 = novalidate
588 270 = target
589 }
590
591 defaultHtmlAttributeValues {
592 enctype = multipart/form-data
593 method = post
594 }
595
596 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractTagBasedViewHelper
597 htmlAttributesUsedByTheViewHelperDirectly {
598 # FormViewHelper
599 200 = enctype
600 210 = method
601 220 = name
602 230 = onreset
603 240 = onsubmit
604 }
605
606 viewHelperDefaultArguments {
607 arguments {
608 }
609
610 additionalParams {
611 }
612
613 argumentsToBeExcludedFromQueryString {
614 }
615 }
616
617 themeName = Default
618
619 partialPath =< plugin.tx_form.view.elementPartials.FORM.10.partialPath
620
621 compatibilityMode = 1
622 }
623
624 # INPUT
625 # Used by: frontend, wizard (not implemented right now)
626 # Used ViewHelper: f:form.textfield
627 #
628 # @ToDo: add more details
629 INPUT =< lib.tx_form.registeredElements.defaultModelDescription
630 INPUT {
631 htmlAttributes {
632 200 = type
633 210 = accept
634 220 = autocomplete
635 230 = alt
636 240 = autofocus
637 250 = checked
638 260 = disabled
639 270 = height
640 280 = inputmode
641 290 = list
642 300 = max
643 310 = maxlength
644 320 = min
645 330 = minlength
646 340 = multiple
647 350 = name
648 360 = pattern
649 370 = placeholder
650 380 = readonly
651 390 = required
652 400 = size
653 410 = src
654 420 = step
655 430 = value
656 440 = width
657 }
658
659 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
660 htmlAttributesUsedByTheViewHelperDirectly {
661 # TextfieldViewHelper
662 200 = autofocus
663 210 = maxlength
664 220 = size
665 230 = placeholder
666 240 = pattern
667 250 = required
668 260 = type
669 }
670
671 partialPath =< plugin.tx_form.view.elementPartials.INPUT.10.partialPath
672 }
673
674 # CHECKBOX
675 # Used by: frontend, wizard (not implemented right now)
676 # Used ViewHelper: f:form.checkbox
677 #
678 # @ToDo: add more details
679 CHECKBOX =< lib.tx_form.registeredElements.defaultModelDescription
680 CHECKBOX {
681 htmlAttributes {
682 200 = type
683 210 = accept
684 220 = autocomplete
685 230 = alt
686 240 = autofocus
687 250 = checked
688 260 = disabled
689 270 = height
690 280 = inputmode
691 290 = list
692 300 = max
693 310 = maxlength
694 320 = min
695 330 = minlength
696 340 = multiple
697 350 = name
698 360 = pattern
699 370 = placeholder
700 380 = readonly
701 390 = required
702 400 = size
703 410 = src
704 420 = step
705 430 = value
706 440 = width
707 }
708
709 fixedHtmlAttributeValues {
710 type = checkbox
711 }
712
713 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
714 htmlAttributesUsedByTheViewHelperDirectly {
715 # CheckboxViewHelper
716 200 = checked
717 210 = multiple
718 }
719
720 partialPath =< plugin.tx_form.view.elementPartials.CHECKBOX.10.partialPath
721 }
722
723 # FILEUPLOAD
724 # Used by: frontend, wizard (not implemented right now)
725 # Used ViewHelper: f:form.upload
726 #
727 # @ToDo: add more details
728 FILEUPLOAD =< lib.tx_form.registeredElements.defaultModelDescription
729 FILEUPLOAD {
730 htmlAttributes {
731 200 = type
732 210 = accept
733 220 = autocomplete
734 230 = alt
735 240 = autofocus
736 250 = checked
737 260 = disabled
738 270 = height
739 280 = inputmode
740 290 = list
741 300 = max
742 310 = maxlength
743 320 = min
744 330 = minlength
745 340 = multiple
746 350 = name
747 360 = pattern
748 370 = placeholder
749 380 = readonly
750 390 = required
751 400 = size
752 410 = src
753 420 = step
754 430 = value
755 440 = width
756 }
757
758 fixedHtmlAttributeValues {
759 type = file
760 }
761
762 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
763 htmlAttributesUsedByTheViewHelperDirectly {
764 # UploadViewHelper
765 200 = multiple
766 }
767
768 partialPath =< plugin.tx_form.view.elementPartials.FILEUPLOAD.10.partialPath
769 }
770
771 # HIDDEN
772 # Used by: frontend, wizard (not implemented right now)
773 # Used ViewHelper: f:form.hidden
774 #
775 # @ToDo: add more details
776 HIDDEN =< lib.tx_form.registeredElements.defaultModelDescription
777 HIDDEN {
778 htmlAttributes {
779 200 = type
780 210 = accept
781 220 = autocomplete
782 230 = alt
783 240 = autofocus
784 250 = checked
785 260 = disabled
786 270 = height
787 280 = inputmode
788 290 = list
789 300 = max
790 310 = maxlength
791 320 = min
792 330 = minlength
793 340 = multiple
794 350 = name
795 360 = pattern
796 370 = placeholder
797 380 = readonly
798 390 = required
799 400 = size
800 410 = src
801 420 = step
802 430 = value
803 440 = width
804 }
805
806 fixedHtmlAttributeValues {
807 type = hidden
808 }
809
810 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
811
812 partialPath =< plugin.tx_form.view.elementPartials.HIDDEN.10.partialPath
813
814 visibleInConfirmationAction = 0
815
816 visibleInMail = 0
817 }
818
819 # IMAGEBUTTON
820 # Used by: frontend, wizard (not implemented right now)
821 # Used ViewHelper: f:form.textfield
822 # Deprecated
823 #
824 # @ToDo: add more details
825 IMAGEBUTTON =< lib.tx_form.registeredElements.defaultModelDescription
826 IMAGEBUTTON {
827 htmlAttributes {
828 200 = type
829 210 = accept
830 220 = autocomplete
831 230 = alt
832 240 = autofocus
833 250 = checked
834 260 = disabled
835 270 = height
836 280 = inputmode
837 290 = list
838 300 = max
839 310 = maxlength
840 320 = min
841 330 = minlength
842 340 = multiple
843 350 = name
844 360 = pattern
845 370 = placeholder
846 380 = readonly
847 390 = required
848 400 = size
849 410 = src
850 420 = step
851 430 = value
852 440 = width
853 }
854
855 fixedHtmlAttributeValues {
856 type = image
857 }
858
859 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
860 htmlAttributesUsedByTheViewHelperDirectly {
861 # TextfieldViewHelper
862 200 = autofocus
863 210 = maxlength
864 220 = size
865 230 = placeholder
866 240 = pattern
867 250 = required
868 260 = type
869 }
870
871 partialPath =< plugin.tx_form.view.elementPartials.IMAGEBUTTON.10.partialPath
872
873 visibleInConfirmationAction = 0
874
875 visibleInMail = 0
876 }
877
878 # PASSWORD
879 # Used by: frontend, wizard (not implemented right now)
880 # Used ViewHelper: f:form.password
881 #
882 # @ToDo: add more details
883 PASSWORD =< lib.tx_form.registeredElements.defaultModelDescription
884 PASSWORD {
885 htmlAttributes {
886 200 = type
887 210 = accept
888 220 = autocomplete
889 230 = alt
890 240 = autofocus
891 250 = checked
892 260 = disabled
893 270 = height
894 280 = inputmode
895 290 = list
896 300 = max
897 310 = maxlength
898 320 = min
899 330 = minlength
900 340 = multiple
901 350 = name
902 360 = pattern
903 370 = placeholder
904 380 = readonly
905 390 = required
906 400 = size
907 410 = src
908 420 = step
909 430 = value
910 440 = width
911 }
912
913 fixedHtmlAttributeValues {
914 type = password
915 }
916
917 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
918 htmlAttributesUsedByTheViewHelperDirectly {
919 # PasswordViewHelper
920 200 = maxlength
921 210 = size
922 }
923
924 partialPath =< plugin.tx_form.view.elementPartials.PASSWORD.10.partialPath
925
926 visibleInConfirmationAction = 0
927
928 visibleInMail = 0
929 }
930
931 # RADIO
932 # Used by: frontend, wizard (not implemented right now)
933 # Used ViewHelper: f:form.radio
934 #
935 # @ToDo: add more details
936 RADIO =< lib.tx_form.registeredElements.defaultModelDescription
937 RADIO {
938 htmlAttributes {
939 200 = type
940 210 = accept
941 220 = autocomplete
942 230 = alt
943 240 = autofocus
944 250 = checked
945 260 = disabled
946 270 = height
947 280 = inputmode
948 290 = list
949 300 = max
950 310 = maxlength
951 320 = min
952 330 = minlength
953 340 = multiple
954 350 = name
955 360 = pattern
956 370 = placeholder
957 380 = readonly
958 390 = required
959 400 = size
960 410 = src
961 420 = step
962 430 = value
963 440 = width
964 }
965
966 fixedHtmlAttributeValues {
967 type = radio
968 }
969
970 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
971 htmlAttributesUsedByTheViewHelperDirectly {
972 # RadioViewHelper
973 200 = checked
974 }
975
976 partialPath =< plugin.tx_form.view.elementPartials.RADIO.10.partialPath
977 }
978
979 # RESET
980 # Used by: frontend, wizard (not implemented right now)
981 # Used ViewHelper: f:form.textfield
982 #
983 # @ToDo: add more details
984 RESET =< lib.tx_form.registeredElements.defaultModelDescription
985 RESET {
986 htmlAttributes {
987 200 = type
988 210 = accept
989 220 = autocomplete
990 230 = alt
991 240 = autofocus
992 250 = checked
993 260 = disabled
994 270 = height
995 280 = inputmode
996 290 = list
997 300 = max
998 310 = maxlength
999 320 = min
1000 330 = minlength
1001 340 = multiple
1002 350 = name
1003 360 = pattern
1004 370 = placeholder
1005 380 = readonly
1006 390 = required
1007 400 = size
1008 410 = src
1009 420 = step
1010 430 = value
1011 440 = width
1012 }
1013
1014 fixedHtmlAttributeValues {
1015 type = reset
1016 }
1017
1018 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
1019 htmlAttributesUsedByTheViewHelperDirectly {
1020 # TextfieldViewHelper
1021 210 = autofocus
1022 220 = maxlength
1023 230 = size
1024 240 = placeholder
1025 250 = pattern
1026 260 = required
1027 270 = type
1028 }
1029
1030 partialPath =< plugin.tx_form.view.elementPartials.RESET.10.partialPath
1031
1032 visibleInConfirmationAction = 0
1033
1034 visibleInMail = 0
1035 }
1036
1037 # SUBMIT
1038 # Used by: frontend, wizard (not implemented right now)
1039 # Used ViewHelper: f:form.submit
1040 #
1041 # @ToDo: add more details
1042 SUBMIT =< lib.tx_form.registeredElements.defaultModelDescription
1043 SUBMIT {
1044 htmlAttributes {
1045 200 = type
1046 210 = accept
1047 220 = autocomplete
1048 230 = alt
1049 240 = autofocus
1050 250 = checked
1051 260 = disabled
1052 270 = height
1053 280 = inputmode
1054 290 = list
1055 300 = max
1056 310 = maxlength
1057 320 = min
1058 330 = minlength
1059 340 = multiple
1060 350 = name
1061 360 = pattern
1062 370 = placeholder
1063 380 = readonly
1064 390 = required
1065 400 = size
1066 410 = src
1067 420 = step
1068 430 = value
1069 440 = width
1070 }
1071
1072 fixedHtmlAttributeValues {
1073 type = submit
1074 }
1075
1076 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
1077
1078 partialPath =< plugin.tx_form.view.elementPartials.SUBMIT.10.partialPath
1079
1080 visibleInConfirmationAction = 0
1081
1082 visibleInMail = 0
1083 }
1084
1085 # TEXTLINE
1086 # Used by: frontend, wizard (not implemented right now)
1087 # Used ViewHelper: f:form.textfield
1088 #
1089 # @ToDo: add more details
1090 TEXTLINE =< lib.tx_form.registeredElements.defaultModelDescription
1091 TEXTLINE {
1092 htmlAttributes {
1093 200 = type
1094 210 = accept
1095 220 = autocomplete
1096 230 = alt
1097 240 = autofocus
1098 250 = checked
1099 260 = disabled
1100 270 = height
1101 280 = inputmode
1102 290 = list
1103 300 = max
1104 310 = maxlength
1105 320 = min
1106 330 = minlength
1107 340 = multiple
1108 350 = name
1109 360 = pattern
1110 370 = placeholder
1111 380 = readonly
1112 390 = required
1113 400 = size
1114 410 = src
1115 420 = step
1116 430 = value
1117 440 = width
1118 }
1119
1120 fixedHtmlAttributeValues {
1121 type = text
1122 }
1123
1124 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
1125 htmlAttributesUsedByTheViewHelperDirectly {
1126 # TextfieldViewHelper
1127 200 = autofocus
1128 210 = maxlength
1129 220 = size
1130 230 = placeholder
1131 240 = pattern
1132 250 = required
1133 260 = type
1134 }
1135
1136 partialPath =< plugin.tx_form.view.elementPartials.TEXTLINE.10.partialPath
1137 }
1138
1139 # TEXTAREA
1140 # Used by: frontend, wizard (not implemented right now)
1141 # Used ViewHelper: f:form.textarea
1142 #
1143 # @ToDo: add more details
1144 TEXTAREA =< lib.tx_form.registeredElements.defaultModelDescription
1145 TEXTAREA {
1146 htmlAttributes {
1147 200 = autocomplete
1148 210 = autofocus
1149 220 = cols
1150 230 = disabled
1151 240 = maxlength
1152 250 = minlength
1153 260 = name
1154 270 = placeholder
1155 280 = readonly
1156 290 = required
1157 300 = rows
1158 310 = selectionDirection
1159 320 = selectionEnd
1160 330 = selectionStart
1161 340 = wrap
1162 }
1163
1164 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
1165 htmlAttributesUsedByTheViewHelperDirectly {
1166 # TextareaViewHelper
1167 200 = autofocus
1168 210 = rows
1169 220 = cols
1170 230 = placeholder
1171 }
1172
1173 partialPath =< plugin.tx_form.view.elementPartials.TEXTAREA.10.partialPath
1174 }
1175
1176 # SELECT
1177 # Used by: frontend, wizard (not implemented right now)
1178 # Used ViewHelper: form:select (extends f:form.select)
1179 #
1180 # @ToDo: add more details
1181 SELECT =< lib.tx_form.registeredElements.defaultModelDescription
1182 SELECT {
1183 htmlAttributes {
1184 200 = autofocus
1185 210 = disabled
1186 220 = multiple
1187 230 = name
1188 240 = required
1189 250 = size
1190 }
1191
1192 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
1193 htmlAttributesUsedByTheViewHelperDirectly {
1194 # SelectViewHelper
1195 120 = multiple
1196 130 = size
1197 }
1198
1199 partialPath =< plugin.tx_form.view.elementPartials.SELECT.10.partialPath
1200 }
1201
1202 # OPTION
1203 # Used by: frontend, wizard (not implemented right now)
1204 # Used ViewHelper: form:select (extends f:form.select)
1205 #
1206 # No partialPath definition necessary.
1207 # Element is needed to define select options via TypoScript but
1208 # the rendering is based on the select ViewHelper.
1209 # @ToDo: add more details
1210 OPTION =< lib.tx_form.registeredElements.defaultModelDescription
1211 OPTION {
1212 htmlAttributes {
1213 200 = disabled
1214 210 = label
1215 220 = selected
1216 230 = value
1217 }
1218
1219 htmlAttributesUsedByTheViewHelperDirectly {
1220 10 = label
1221 20 = value
1222 }
1223 }
1224
1225 # OPTGROUP
1226 # Used by: frontend, wizard (not implemented right now)
1227 # Used ViewHelper: form:select (extends f:form.select)
1228 #
1229 # No partialPath definition necessary.
1230 # Element is needed to define select options via TypoScript but
1231 # the rendering is based on the select ViewHelper.
1232 # @ToDo: add more details
1233 OPTGROUP =< lib.tx_form.registeredElements.defaultModelDescription
1234 OPTGROUP {
1235 htmlAttributes {
1236 200 = disabled
1237 210 = label
1238 }
1239
1240 htmlAttributesUsedByTheViewHelperDirectly {
1241 10 = label
1242 }
1243 }
1244
1245 # BUTTONTAG
1246 # Used by: frontend, wizard (not implemented right now)
1247 # Used ViewHelper: f:form.button
1248 #
1249 # # Generates an element <button type="..." />
1250 BUTTONTAG =< lib.tx_form.registeredElements.defaultModelDescription
1251 BUTTONTAG {
1252 htmlAttributes {
1253 200 = autofocus
1254 210 = disabled
1255 220 = name
1256 230 = type
1257 240 = value
1258 }
1259
1260 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
1261 htmlAttributesUsedByTheViewHelperDirectly {
1262 # ButtonViewHelper
1263 120 = autofocus
1264 130 = type
1265 }
1266
1267 partialPath =< plugin.tx_form.view.elementPartials.BUTTONTAG.10.partialPath
1268
1269 visibleInConfirmationAction = 0
1270
1271 visibleInMail = 0
1272 }
1273
1274 # INPUTTYPEBUTTON
1275 # Used by: frontend, wizard (not implemented right now)
1276 # Used ViewHelper: f:form.textfield
1277 #
1278 # Generates an element <input type="button" />
1279 INPUTTYPEBUTTON =< lib.tx_form.registeredElements.defaultModelDescription
1280 INPUTTYPEBUTTON {
1281 htmlAttributes {
1282 200 = type
1283 210 = accept
1284 220 = autocomplete
1285 230 = alt
1286 240 = autofocus
1287 250 = checked
1288 260 = disabled
1289 270 = height
1290 280 = inputmode
1291 290 = list
1292 300 = max
1293 310 = maxlength
1294 320 = min
1295 330 = minlength
1296 340 = multiple
1297 350 = name
1298 360 = pattern
1299 370 = placeholder
1300 380 = readonly
1301 390 = required
1302 400 = size
1303 410 = src
1304 420 = step
1305 430 = value
1306 440 = width
1307 }
1308
1309 fixedHtmlAttributeValues {
1310 type = button
1311 }
1312
1313 htmlAttributesUsedByTheViewHelperDirectly =< lib.tx_form.htmlAttributesUsedByTheViewHelperDirectly.abstractFormFieldViewHelper
1314 htmlAttributesUsedByTheViewHelperDirectly {
1315 # TextfieldViewHelper
1316 200 = autofocus
1317 210 = maxlength
1318 220 = size
1319 230 = placeholder
1320 240 = pattern
1321 250 = required
1322 260 = type
1323 }
1324
1325 partialPath =< plugin.tx_form.view.elementPartials.INPUTTYPEBUTTON.10.partialPath
1326
1327 visibleInConfirmationAction = 0
1328
1329 visibleInMail = 0
1330 }
1331
1332 # BUTTON
1333 # Used by: frontend, wizard (not implemented right now)
1334 # Used ViewHelper: f:form.button
1335 #
1336 # A historical element which generates a <input type="button" /> tag.
1337 # To be compatible it is a copy of the new element INPUTTYPEBUTTON
1338 # If you want to use a <button> tag you have to use
1339 # BUTTON =< .BUTTONTAG or use the BUTTONTAG directly
1340 BUTTON =< .INPUTTYPEBUTTON
1341 BUTTON {
1342 partialPath =< plugin.tx_form.view.elementPartials.INPUTTYPEBUTTON.10.partialPath
1343 }
1344
1345 # FIELDSET
1346 # Used by: frontend, wizard (not implemented right now)
1347 # Used ViewHelper: none
1348 #
1349 # This defines a container element.
1350 # @ToDo: add more details
1351 FIELDSET =< lib.tx_form.registeredElements.defaultModelDescription
1352 FIELDSET {
1353 htmlAttributes {
1354 200 = disabled
1355 210 = name
1356 }
1357
1358 partialPath =< plugin.tx_form.view.elementPartials.FIELDSET.10.partialPath
1359
1360 visibleInConfirmationAction = 0
1361
1362 visibleInMail = 0
1363 }
1364
1365 # CHECKBOXGROUP
1366 # Used by: frontend, wizard (not implemented right now)
1367 # Used ViewHelper: none
1368 #
1369 # This defines a container element.
1370 # @ToDo: add more details
1371 CHECKBOXGROUP =< .FIELDSET
1372 CHECKBOXGROUP {
1373 partialPath =< plugin.tx_form.view.elementPartials.CHECKBOXGROUP.10.partialPath
1374
1375 childrenInheritName = 1
1376
1377 visibleInConfirmationAction = 1
1378
1379 visibleInMail = 1
1380 }
1381
1382 # RADIOGROUP
1383 # Used by: frontend, wizard (not implemented right now)
1384 # Used ViewHelper: none
1385 #
1386 # This defines a container element.
1387 # @ToDo: add more details
1388 RADIOGROUP =< .FIELDSET
1389 RADIOGROUP {
1390 partialPath =< plugin.tx_form.view.elementPartials.RADIOGROUP.10.partialPath
1391
1392 childrenInheritName = 1
1393
1394 visibleInConfirmationAction = 1
1395
1396 visibleInMail = 1
1397 }
1398
1399 # HEADER
1400 # Used by: frontend, wizard (not implemented right now)
1401 # Used ViewHelper: f:format.raw
1402 #
1403 # @ToDo: add more details
1404 HEADER =< lib.tx_form.registeredElements.defaultModelDescription
1405 HEADER {
1406 partialPath =< plugin.tx_form.view.elementPartials.HEADER.10.partialPath
1407
1408 visibleInConfirmationAction = 0
1409
1410 visibleInMail = 0
1411 }
1412
1413 # TEXTBLOCK
1414 # Used by: frontend, wizard (not implemented right now)
1415 # Used ViewHelper: f:format.raw
1416 #
1417 # @ToDo: add more details
1418 TEXTBLOCK =< lib.tx_form.registeredElements.defaultModelDescription
1419 TEXTBLOCK {
1420 htmlAttributes >
1421
1422 partialPath =< plugin.tx_form.view.elementPartials.TEXTBLOCK.10.partialPath
1423
1424 visibleInConfirmationAction = 0
1425
1426 visibleInMail = 0
1427 }
1428
1429 # CONTENTELEMENT
1430 # Used by: frontend
1431 # Used ViewHelper: none
1432 #
1433 # This defines an internal element which holds some basic configuration
1434 # like visibility settings and the used partial path.
1435 #
1436 # @ToDo: add more details
1437 CONTENTELEMENT =< lib.tx_form.registeredElements.defaultModelDescription
1438 CONTENTELEMENT {
1439 partialPath =< plugin.tx_form.view.elementPartials.CONTENTELEMENT.10.partialPath
1440
1441 visibleInConfirmationAction = 0
1442
1443 visibleInMail = 0
1444 }
1445 }
1446 }
1447 }