Re: Preventing Identical Form Fields
| From: | Dave Rosenberg | Date: | Thu, 07 Feb 2002 16:42:00 +0000 |
| Subject: | Re: Preventing Identical Form Fields | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83869@lists.php.net to get a copy of this message | ||
Thanks Chris, but I have about 10 different fields and want to make sure none of those are the same.
Dave
Chris Wright wrote:
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