Please post a link to the page on your site that contains the problem so we can check it out.
The "process/display" is?
after the submission not during the submission
huh?
I think you're asking how to disable sending the form twice.... making sure they don't just keep clicking submit.
I'm not sure how this would work.
but, since you're using php, you could just have a check before doing your action.
1. Store the submissions somewhere (or even just the one last one)
2. Check when submitted if that data matches the old data (and IP address)
3. If it does, end, do nothing (already submitted... no big deal), if not do your normal action.
I'm not sure what "disable" is in javascript, but you could do it this way:
either onSubmit in the <form> tag, or onClick on the submit button....
You could set that to a function.
the function could set a variable to 1 and submit the form.
The fuction, when clicked again, would see that it already equals 1, and not do anything.
if != 1, var = 1, submit. else (do nothing, probably or alert('only submit once.'))
Bookmarks