RE: [PHP] Preventing Identical Form Fields
| From: | Chris Wright | Date: | Thu, 07 Feb 2002 16:33:42 +0000 |
| Subject: | RE: [PHP] Preventing Identical Form Fields | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-83867@lists.php.net to get a copy of this message | ||
With javascript onSubmit, but that ain't php, so with
if($form1==$form2){sendthembackwitherrors()}
---
Christopher Wright
303 447 2496 x 107
www.netinfra.com
"We'll take care of it."
"Net Infrastructure has definitely helped our company, even though we're
not in the US, Net Infrastructure has been a key part in the success of
our business." Juan Carlos Saravia
-----Original Message-----
From: Dave Rosenberg [mailto:dave@cviog.uga.edu]
Sent: Thursday, February 07, 2002 9:30 AM
To: php-general@lists.php.net
Subject: [PHP] Preventing Identical Form Fields
Pretty simple question, I think:
I'm creating a PHP form and want to prevent users from entering the same
response in more than one form field. How can I have the script check
for identical fields on POST?
Thanks
Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php