[TASK] Remove old language labels in EXT:setup
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Documentation / Tests / Filter / trim.txt
1 form.filter.trim = FORM
2 form.filter.trim {
3         method = post
4
5         rules {
6                 1 = required
7                 1 {
8                         element = textlineField
9                 }
10         }
11
12         # Trim
13         10 = FIELDSET
14         10 {
15                 legend = Trim test
16                 10 = TEXTAREA
17                 10 {
18                         label = No settings
19                         data (
20                                 line 1
21                                 line 2
22                                 line 3
23                         )
24                         filters {
25                                 1 = trim
26                         }
27                 }
28                 20 = TEXTLINE
29                 20 {
30                         label = characterList=a,b,f,g
31                         value = abcdefg
32                         filters {
33                                 1 = trim
34                                 1 {
35                                         characterList = a,b,f,g
36                                 }
37                         }
38                 }
39         }
40
41         # A textline which must be empty to test the above
42         30 = FIELDSET
43         30 {
44                 legend = Leave empty to get the form back after submitting
45                 10 = TEXTLINE
46                 10 {
47                         name = textlineField
48                         label = Leave me empty
49                 }
50         }
51
52         # Submit
53         40 = FIELDSET
54         40 {
55                 10 = SUBMIT
56                 10 {
57                         value = Submit
58                 }
59         }
60 }