[FEATURE] EXT:form - integrate new form framework
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Resources / Private / Backend / Templates / FormEditor / Yaml / NewForms / SimpleContactForm.yaml
1 identifier: ext-form-simple-contact-form-example
2 label: 'Simple Contact Form'
3 type: Form
4
5 finishers:
6   -
7     identifier: EmailToReceiver
8     options:
9       subject: 'Your message: {subject}'
10       recipientAddress: 'your.company@example.com'
11       recipientName: 'Your Company name'
12       senderAddress: '{email}'
13       senderName: '{name}'
14       replyToAddress: ''
15       carbonCopyAddress: ''
16       blindCarbonCopyAddress: ''
17       format: 'html'
18       attachUploads: 'true'
19       translation:
20         language: ''
21
22 renderables:
23   -
24     identifier: page-1
25     label: 'Contact Form'
26     type: Page
27
28     renderables:
29       -
30         identifier: name
31         label: 'Name'
32         type: Text
33         properties:
34           placeholder: 'Name'
35         defaultValue: ''
36         validators:
37           -
38             identifier: NotEmpty
39       -
40         identifier: subject
41         label: 'Subject'
42         type: Text
43         properties:
44           placeholder: 'Subject'
45         defaultValue: ''
46         validators:
47           -
48             identifier: NotEmpty
49       -
50         identifier: email
51         label: 'Email'
52         type: Text
53         properties:
54           placeholder: 'Email address'
55         defaultValue: ''
56         validators:
57           -
58             identifier: NotEmpty
59           -
60             identifier: EmailAddress
61       -
62         identifier: message
63         label: 'Message'
64         type: Textarea
65         properties:
66           placeholder: ''
67         defaultValue: ''
68         validators:
69           -
70             identifier: NotEmpty
71
72   -
73     identifier: summarypage
74     label: 'Summary page'
75     type: SummaryPage