I am wondering if there is a way using php to disable the submit button (to avoid dual submission by impatient people).
I already use javascripts to verify required fields and save cookies. I haven't been able to use the numerous javascripts I've found to disable the submit button, as most require putting an "onsubmit" statement into the body tag and I already have one. When I tried adding another separated by a semicolon, it only does the first of them.
When I add onclick="this.disabled=true;" to the submit button tag, it disables the button upon clicking but does not actually submit the form. Also, I can't have it disable the button if there are required fields missed, as they are sent back to the same page with the fields hightlighted and they wouldn't be able to hit submit a second time to "resubmit" the info.
I hope someone has a solution! Thanks in advance for any help!!