CodeIgniter Forums
Supressing double submits on forms? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Supressing double submits on forms? (/showthread.php?tid=39775)



Supressing double submits on forms? - El Forum - 03-20-2011

[eluser]Unknown[/eluser]
Hello,

I have working with CI for the past few months and came upon a question that I could not find any resources on. When a user submits a form that has a delay before fully submitting, how can we stop that user from hitting the submit button again. Or should I say that once the user hits the submit button once, I would like to not preform the processing that occurs when the user hits the submit button again before the form is done processing.

I know you can simply disable the button with JavaScript but I am looking for server_side solutions at the moment.

Thanks

Chad


Supressing double submits on forms? - El Forum - 03-21-2011

[eluser]InsiteFX[/eluser]
Read this - Prevent Duplicate Form Submission in PHP

InsiteFX