Re: Form Validation

From: Date: Tue, 09 Oct 2001 12:12:56 +0000
Subject: Re: Form Validation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70452@lists.php.net to get a copy of this message
> I have a PHP script that displays a form. Before the > user submits the data to the server, I would like to > validate that all the responses were entered. You can't do it BEFORE sending cause PHP gets it AFTER. You may validate it by PHP after posting, and if the data is not valid, display the error message instead using the data. You may also display the form again giving info about which fields are filled incorrect. Kamil 'Hilarion' Nowicki

« previous php.general (#70452) next »