CurGeorge8
07-09-2003, 02:32 PM
OK, I'm using the onClick command to do two seperate commands.
First it runs check(this form) which runs function check() in the header to verify that all the required fields have a value.
Then it runs value="Processing Form..."; to change the name of the button so people don't click it multiple times.
The problem is that if there is a problem in the function check that requires the user to change, it still changes the value of the button to "Processing Form"
How can I up the button to change to "Processing Form" ONLY after the function check is complete?
Thanks
~~Dan
First it runs check(this form) which runs function check() in the header to verify that all the required fields have a value.
Then it runs value="Processing Form..."; to change the name of the button so people don't click it multiple times.
The problem is that if there is a problem in the function check that requires the user to change, it still changes the value of the button to "Processing Form"
How can I up the button to change to "Processing Form" ONLY after the function check is complete?
Thanks
~~Dan