On Mon, 19 Feb 2001 15:25, Edith Lai wrote:
> If i want to validate a form and check for empty input which then will
> produce a pop up warning dialog box, what should i do?
>
> thanks
If you want to do that client side, you'll need to write a little
javascript routine which checks the input and does the dialog box bit.
But don't forget a) user may have js turned off and b) don't rely only on
client side validation - recheck the data server side prior to processing
it.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]