You have seen how to create a form: Select the desired form type as a content element. The Mail form provides us with the most complete insight into the creation of forms and at the same time it will be our foundation. You will get a first impression of the operation of forms and the syntax of TypoScript forms by taking a look at the Configuration field after creating a form.
# Example content: Name: | *name = input,40 | Enter your name here Email: | *email=input,40 | Address: | address=textarea,40,5 | Contact me: | tv=check | 1 |formtype_mail = submit | Send form! |html_enabled=hidden | 1 |subject=hidden| This is the subject
You can customize the form from this field. The description of the fields along with their order can be changed, and you can add new fields. The available form fields in TYPO3 are shown in the following table:
Field |
Syntax |
---|---|
Selection field |
|
Input field |
|
Marking field |
|
Radio-button |
|