Feature #45553
Missing TRUE Validator for mandatory checkboxes
Status: | Resolved | Start date: | 2013-02-17 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Benno Weinzierl | % Done: | 100% |
|
Category: | Validation | |||
Target version: | TYPO3 Flow Base Distribution - 2.0.1 | |||
PHP Version: | Complexity: | no-brainer | ||
Has patch: | Yes |
Description
I added a Validator which validates boolean TRUE values. So only the value TRUE is accepted.
I needed this for a form where i have a mandatory "terms and conditions" checkbox which is a boolean property.
I think this is a quite common usecase and should be included into the core.
Related issues
Associated revisions
[FEATURE] A boolean value Validator
A new Validator for validating if a value is a specific
boolean value (TRUE or FALSE). Used with no options it
expects TRUE.
Mainly useful for validating mandatory checkboxes in
forms (like Terms and Conditions).
Change-Id: Iae968c1c046be6b3cd475eea50ee65226381a0dd
Resolves: #45553
Releases: master
History
#1 Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18352
#2 Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18352
#3 Updated by Benno Weinzierl over 2 years ago
Driven by the discussions in the irc-channel i submitted new patchset with new name and now the validator can also check for FALSE.
#4 Updated by Gerrit Code Review over 2 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18352
#5 Updated by Gerrit Code Review over 2 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18352
#6 Updated by Karsten Dambekalns almost 2 years ago
- Target version changed from 2.0 to 2.0.1
#7 Updated by Marc Bastian Heinrichs over 1 year ago
merged since 2013-10-21 15:11
#8 Updated by Benno Weinzierl about 1 year ago
- Status changed from Under Review to Resolved
Applied in changeset d46b153a646fe12fb4eb988d46a277ec366cda40.