-----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-----

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to