Some users accidentally click the submit button more than once while waiting for their post to be saved. In some cases this may result duplicate postings or duplicate e-commerce orders.

There are few ideas on how to solve duplicate postings but none is perfect. One of the solutions is a bit of jQuery to hide or disable the submit button after it has been clicked and replace it with an informative text such as "Processing..." .

This module wraps that jQuery code and provides some options. Of course this, too, is not a perfect solution as it requires Javascript to be enabled. For browsers with Javascript disabled this module will have no effect at all.

Features:

  1. Hide or disable the submit button after it has been clicked
  2. Display a message and/or image while waiting

Known issues:

  • Hiding buttons of AJAX forms may cause unwanted results. The 7.x-2.x release has a hook to let site builders change the configuration depending on the path.
  • Using disable mode sometimes causes problems with multiple operation forms.
Supporting organizations: 
Maintenance and improvements to 7.x-2.x branch

Project Information

Downloads