Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions

userforms - duplicate submissions issue


Reply

2 Posts   252 Views

Avatar
acktivate

29 May 2014 at 10:26am (Last edited: 29 May 2014 10:28am), Community Member, 11 Posts

I want to add an alert like "processing" to userforms page for a visitor if they try to click the submit button more than once. People completing forms are clicking submit multiple times resulting in multiple submissions for the same form data. what are some options to prevent this?

Thanks.

Avatar
camfindlay

29 May 2014 at 5:32pm Forum Moderator, 149 Posts

Hi this is probably more a general web development question that SilverStripe specific but you could use jquery to achieve this, check out this article: http://www.mkyong.com/jquery/how-to-disable-submit-button-after-clicked-with-jquery/

Hope that helps.