CodeIgniter Forums

Full Version: Supressing double submits on forms?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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

El Forum

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

InsiteFX