hi
Ok, I have aform with userrname, password, password repeat and email fields.
I need to check the inputs client side just to make sure they are done right.
I have onChange utilized for this but my problem is that the form can still be sent if the user clicks the button.
If the user fills out the email and clicks the button it bypasses the onchange fuction on the email completely.
How can I resolve this? I'd like for the button to either not activate unless all fields are ok or when clicked to run the fields through the function 'form_validate' (which is all the functions in one that I was using before the onchange) and then to submit if it runs ok through that.
I've tried many things over the last 24 hours, too many variations to list. I am learning as I go so it may be simple and I missed it.
the full code is at
running at
(Youll see the problem if you just hit the button at anytime - it will bypass all my on-change events.
Thank you all in advance
Thank you
Ok, I have aform with userrname, password, password repeat and email fields.
I need to check the inputs client side just to make sure they are done right.
I have onChange utilized for this but my problem is that the form can still be sent if the user clicks the button.
If the user fills out the email and clicks the button it bypasses the onchange fuction on the email completely.
How can I resolve this? I'd like for the button to either not activate unless all fields are ok or when clicked to run the fields through the function 'form_validate' (which is all the functions in one that I was using before the onchange) and then to submit if it runs ok through that.
I've tried many things over the last 24 hours, too many variations to list. I am learning as I go so it may be simple and I missed it.
the full code is at
running at
(Youll see the problem if you just hit the button at anytime - it will bypass all my on-change events.
Thank you all in advance
Thank you