Re: Pop-up warning dialog box

From: Date: Mon, 19 Feb 2001 05:15:09 +0000
Subject: Re: Pop-up warning dialog box
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40506@lists.php.net to get a copy of this message
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

« previous php.general (#40506) next »