Feature #45553

Missing TRUE Validator for mandatory checkboxes

Added by Benno Weinzierl about 8 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Should have
Category:
Validation
Start date:
2013-02-17
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Yes
Complexity:
no-brainer

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

Related to TYPO3 Core - Bug #57414: Deprecate Extbase BooleanValidator and copy it to BooleanValueValidatorClosed2014-03-28

Actions
Has duplicate TYPO3.Flow - Feature #45976: Boolean ValidatorResolved2013-03-03

Actions
#1

Updated by Gerrit Code Review about 8 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 about 8 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 about 8 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 about 8 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 about 8 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 over 7 years ago

  • Target version changed from 2.0 to 2.0.1
#7

Updated by Marc Bastian Heinrichs about 7 years ago

merged since 2013-10-21 15:11

#8

Updated by Benno Weinzierl almost 7 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF