Hi
I am using INI files to manage my Zend_Form elements.
Here's an example .ini file:
form.action = ""
form.method = "post
form.elements.attribute_name.type = "text"
form.elements.attribute_name.options.label = "Element Name"
form.elements.attribute_name.options.validators.strlen.validator = "StringLength"
form.elements.attribute_name.options.validators.strlen.options.min = "1"
form.elements.attribute_name.options.validators.strlen.options.max = "50"
form.elements.submit.type = "submit"
form.elements.submit.options.name = "Go!"
This element will throw the "strlen" error message as "XX is greater than 50 characters long"
My question is: How do i overwrite this error message within in INI file?
I thought the following might work, but it doesnt do anything!
form.elements.attribute_name.options.validators.strlen.options.message = "You Muppet!"
Thanks for any help.
Jon