Task #33952
closed
Epic #69347: EXT:form - Optimize form wizard
Mailform - required checkbox in wizard
Added by berger benjamin almost 13 years ago.
Updated about 7 years ago.
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
- Category set to Form Framework
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.
- Target version changed from 4.4.14 to 7.5
- Is Regression set to No
This TS code works nice in 6.2. Agree that should be default config, not a "hidden feature".
- Category changed from Form Framework to 1602
- Category changed from 1602 to Form Framework
- Tracker changed from Bug to Task
This could be applied for TYPO3 v7.
- Subject changed from Mailform - Required Checkbox to Mailform - required checkbox in wizard
- Parent task set to #69347
- Status changed from New to In Progress
- Assignee set to Björn Jacob
- 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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF