I want to use disable=true in the form 'onsubmit' to stop multiple form submissions... but I'm having trouble incorporating it into some existing Dreamweaver form validation.
My form has 20 text fields, each of which are required and must be numeric. As I mentioned, I've been using the js form validation which is built in to Dreamweaver which validates the fields as I need. My problem now is that when I add the extra code to disable the submit button, and the form input **isn't** valid, I get my usual text box error message and the submit button gets disabled even though nothing's being submitted - which means that the form can't then be corrected and submitted...
Sorry if I haven't explained that very well! If anyone can make any sense of it and know what I should be doing, I'd love to know how to get round this
S
My form has 20 text fields, each of which are required and must be numeric. As I mentioned, I've been using the js form validation which is built in to Dreamweaver which validates the fields as I need. My problem now is that when I add the extra code to disable the submit button, and the form input **isn't** valid, I get my usual text box error message and the submit button gets disabled even though nothing's being submitted - which means that the form can't then be corrected and submitted...
Sorry if I haven't explained that very well! If anyone can make any sense of it and know what I should be doing, I'd love to know how to get round this
S