Gregory - 

Have you checked out Data::FormValidator yet?  It's an absolute must if
you're handling parameters with multiple requirements.

        --peter

On 1 May 2002, Gregory Stark wrote:

> 
> How do I have multiple form constraints that affect the same columns but have
> different error messages?
> 
> Specifically, I have two date fields, both fields are required, both must be
> in the correct format, and the second must be a later date than the first.
> Ideally I would want three separate messages 
> 
>   "Date2 is a required field"
>   "Date2 must be in format xxx" 
>   "Date2 must be later than Date1"
> 
> And only the single message that's appropriate should appear, not all of them.
> 
> -- 
> Gregory Stark
> Ideas And Associates
> T +1 514 940 2891 x111
> H +1 514 486 9705
> C +1 514 945 3796
> F +1 209 828 3730
> http://www.ideasandassociates.com
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to