[phplib] How to return all form validation errors in oohform From: John Lengeling (johnl <email protected>)
Date: 02/27/01

I just started using PHPLIB and OOHFORM. Great stuff! Keep up the good
work!

I have 2 questions specific to OOHFORM.

1. I want to create a form where I validate an e-mail address using a
regex (got this working) and validate the e-mail address by asking the
user to re-enter the email address again in another field on the same
form. How can I call validate() and then do a check where email !=
vrfyemail. Is there a way to extend validate()?

2. Is there way for validate() to return ALL errors in the form at once
instead of returning the first error?

Thanks

johnl

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>