Task #33952
closedEpic #69347: EXT:form - Optimize form wizard
Mailform - required checkbox in wizard
100%
Description
Hi there
When composing a mailform in the TYPO3 BE, it is possible to set it as a "required" field.
But the check does not apply when using the form in the FE.
This is needed for example in a little form where one needs to accept the "terms and conditions".
Best regards
Ben / amrun
ps: we suppose it could be done as follows:
file: typo3/wizard_forms.php
line: 462
old: if (t3lib_div::inList('check,hidden,submit,label',$confData['type'])) {
new: if (t3lib_div::inList('hidden,submit,label',$confData['type'])) {
Files
Updated by Arne-Kolja Bachstein over 11 years ago
This can be done using the following (page) TS:
mod.wizards.form.elements { checkbox { showAccordions = label, attributes, validation accordions { validation { showRules = required } } } }
It works like a charm, but should really be in the default TS.
Updated by Mathias Schreiber almost 10 years ago
- Target version changed from 4.4.14 to 7.5
- Is Regression set to No
Updated by David Lemaitre almost 10 years ago
This TS code works nice in 6.2. Agree that should be default config, not a "hidden feature".
Updated by Björn Jacob over 9 years ago
- Category changed from Form Framework to 1602
Updated by Björn Jacob over 9 years ago
- Category changed from 1602 to Form Framework
Updated by Björn Jacob over 9 years ago
- Tracker changed from Bug to Task
This could be applied for TYPO3 v7.
Updated by Björn Jacob about 9 years ago
- Subject changed from Mailform - Required Checkbox to Mailform - required checkbox in wizard
Updated by Björn Jacob about 9 years ago
- Status changed from New to In Progress
- Assignee set to Björn Jacob
Updated by Gerrit Code Review about 9 years ago
- Status changed from In Progress to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43357
Updated by Oliver Hader about 9 years ago
- File result_ 33952.png result_ 33952.png added
- File result_ 33952.png result_ 33952.png added
Updated by Björn Jacob about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ce87c2728de491001799d79d7638f05456506526.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed