Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Hide submit button

Security covered Maintenance fixes only 2,352 sites

This module helps prevent accidental duplicate form submissions by hiding or disabling the submit button after it's clicked and displaying a "Processing..." message. This requires JavaScript to be enabled in the user's browser.

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.

D10
D10 release is live and in Alpha, please pull down and report any issues in the issue queue.

Ask your assistant about Hide submit button

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Aug 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.x-dev Dev 10–11 Aug 23, 2024
1.0.0-alpha3 Pre-release 10–11 Aug 22, 2024
1.0.0-alpha2 Pre-release 10 Aug 18, 2024
1.0.0-alpha1 Pre-release 9–10 Aug 18, 2024