At the moment, Bool and StringBool are always valid and not_empty=True has no effect. This is unfortunate because it is not possible to have a simple checkbox on a form that the user must check to comply.
Bool, is false by definition when empty. Maybe you want formencode.validators.NotEmpty? http://www.formencode.org/en/latest/modules/validators.html#formencode.validators.NotEmpty
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.