Hi, I am trying to throw a custom validation message (SomeMessage) when a checkbox is not ticked, but so far I had no luck.
This works for other elements, but not for the checkbox: elements.data_protection.type = "checkbox" elements.data_protection.options.label = "SomeLabel:" elements.data_protection.options.required = true elements.data_protection.options.uncheckedValue = null elements.data_protection.validators.notempty.validator = "NotEmpty" elements.data_protection.validators.notempty.options.messages.isEmpty = "SomeMessage" Could somebody tell me how to do this? Many thanks. Balazs -- View this message in context: http://n4.nabble.com/customizing-validation-message-for-checkbox-tp1557432p1557432.html Sent from the Zend Framework mailing list archive at Nabble.com.
