> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Ross
> 
> When using the fields meta command if the rule name is different than 
> the fields metacommand then to access the value via magic accessors 
> you should use the rule name not the fields name, correct?  That is 
> what is implied in the documentation.

No -- The rule name is used in keys of the assoc array returned by
getMessages() and getErrors(), because messages correspond to validator
failures, not individual input data fields.

You need to request the field value by the field name, not the rule
name.  Because multiple rules might have been applied to the field
before it is ready to be retrieved.

The value is returned after it has been filtered and validated by all
applicable rules.

Regards,
Bill Karwin

Reply via email to