Brian you need to take a look at the message system that accompanies the
filter_input

http://framework.zend.com/manual/en/zend.filter.input.html#zend.filter.input.metacommands.messages

Then it's just a case of specifying the correct message for the correct
action. Sometimes you will need to look in the validator to check what
messages it sets up.

Simon


brian3f wrote:
> 
> I'm using Zend_Filter_Input to validate form data.  I'm trying to use the
> 'presence' => 'required', metacommand.  My problem is, the error message
> generated by this command includes the actual field name that is being
> checked.  my field name is something 'first_name' but I want to display
> 'First Name'.  Here is some pseodo code representing what I'm doing.


-----
Simon Corless

http://www.ajb007.co.uk/
-- 
View this message in context: 
http://www.nabble.com/Zend_Filter_Input-%27presence%27%3D%3E%27required%27-tp15865637s16154p15873112.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to