I am having issues with the ini form layout. I have: ; First Name element interested.elements.firstname.type = "Text" interested.elements.firstname.options.label = "First Name" interested.elements.firstname.options.validators.notempty.validator = "NotEmpty" interested.elements.firstname.options.validators.regex.validator = "regex" interested.elements.firstname.options.validators.regex.options.pattern = "/^[a-za-z...@+^_,-.!#$%&*+=? ]*$/" interested.elements.firstname.options.errorMessages.1 = "We are expecting a firstname containing only letters and a maximum of 50 characters. Please re-check." interested.elements.firstname.options.validators.strlen.validator = "StringLength" interested.elements.firstname.options.validators.strlen.options.min = "2" interested.elements.firstname.options.validators.strlen.options.max = "50" interested.elements.firstname.options.validators.notempty.breakChainOnFailure = true interested.elements.firstname.options.required = true
I want to add a filter to strip tags and assumed it would be something like: interested.elements.firstname.options.filters.striptags.filter="striptags" This doesn't work. Does anyone have a like or resource where I can get a bit more info about how the form is laid out in a config file because I am struggling to understand it, and have run into previous issues. I have checked the manual and can only see reference/examples of validators. -- View this message in context: http://www.nabble.com/Form-Ini-tp21542208p21542208.html Sent from the Zend Framework mailing list archive at Nabble.com.
