Re: Form Value Validation
| From: | C. Cormier - Ormetal Inc. | Date: | Thu, 21 Mar 2002 14:05:00 +0000 |
| Subject: | Re: Form Value Validation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-89497@lists.php.net to get a copy of this message | ||
On 21 Mar 2002, at 0:54, David Johansen wrote:
> I was wondering if there was a way to do validation of the values in
> forms.
Sure, in your <Form> tag, you can have an statement like:
onsubmit="return validate()"
Where validate() will be a javascript function.
Claude Cormier
Ormetal Inc.
http://www.goldcurrencies.ca
http://www.ormetal.com
=============================================
Claude Cormier Public Key
http://www.ormetal.com/keys/ClaudeCormier.asc
=============================================