Re: inspiration needed on problem s

From: Date: Sun, 03 Mar 2002 17:37:40 +0000
Subject: Re: inspiration needed on problem s
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-86986@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 * and then Steven Walker declared.... > Nick, > > If I understand the problem correctly, the form reset button doesn't > work when the form is prefilled with POST data. > > To overcome this, I created reset button of type='submit' value='Reset'. > When loading the form page I test to see if submit=='Reset' or 'Submit'. > If it equals 'Reset', then I clear all the data. Yep, that's what I ended up doing. Can't believe I didn't work that out on my own! Cheers Steven - -- - ----------------------------------------------------------- www.explodingnet.com | Projects, Forums and + Articles for website owners - -- Nick Wilson -- | and designers. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8gl9kHpvrrTa6L5oRAideAJ9TZIm0RFm9UQL7M9Q4JNcI9XGNygCaA3yK yRepNH1fZnkLyTU81w4kKZg= =T53I -----END PGP SIGNATURE-----

« previous php.general (#86986) next »