RE: [PHP] required field

From: Date: Thu, 31 Oct 2002 18:21:09 +0000
Subject: RE: [PHP] required field
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-122299@lists.php.net to get a copy of this message
[snip] I know you can do it with javascript but is there a way in php or straight html to make a field in a form required? I would like to validate it on submit. [/snip] If server side validation works for you then you can check to see if the proper variable isset() and if not it can return to the page to require the information. If you need client side validation you will have to use JavaScript HTH! Jay

« previous php.general (#122299) next »