I have a form that onSubmit it validates the address. My problem is that it is also affecting my back button so when one hits back it tries to validate the form. Can I just have the back button go back without validating the form? Example below.
< --Code taken out because of length-->
I remember running into this problem awhile back. It seemed the issue was that any input that was type=”image” was always treated as a submit button (or something similar).
I’m not sure the code you have in place around it – but you could remove the input on the back button and style the href with css instead.
Thanks! That worked.
You must be logged in to reply to this topic.