I have a form on a Zend-based website that has a mandatory "Terms of Use" checkbox.
I installed a custom message that says: "You must agree to the terms."
however, since the checkbox "availability =" is required ", it returns
Field 'terms' is required by rule 'terms', but the field is missing
which is this constant defined in the framework of Zend:
self::MISSING_MESSAGE => "Field '%field%' is required by rule '%rule%', but the field is missing",
I could edit this constant, but it would change the error report for all the necessary flags.
How can I influence the error report in this particular case?
jwilliams
source share