Re: [PHP] inspiration needed on problem s

2002-03-03 Thread Nick Wilson
-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

Re: [PHP] inspiration needed on problem s

2002-03-03 Thread Steven Walker
I have often looked at problems and immediately thought that PHP is not capable of the solution, but then some discovery sheds light and suddenly many new things are possible. This fell into that category for me too :) Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED]

[PHP] inspiration needed on problem s

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all I'm all out of inspiration in finding an elegant solution to a little problem, hope you guys can lend a hand :-) I have a form thats values are object properties The object is carried in the current session As a result my reset button won't

Re: [PHP] inspiration needed on problem s

2002-03-01 Thread Steven Walker
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