clock.gif

Some users are impatient and click the submit button more then once while waiting for their post to be saved.
In some cases this may result duplicate postings.

There are few ideas on how to solve duplicate postings but none is perfect;
One of the solutions I found was a short jQuery snippet to hide the submit button after it has been
clicked and replace it with an informative text such as "Please wait..." .

This module wrap this nice jQeury snippet.
Of course this is too, 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. java code can be loaded on selected pages only (like when adding or editing nodes)
  3. Display a message and/or pre-loaded image (ajax-like animation or such) while waiting
  4. Randomize images for each page load
  5. Exclude or enable hiding for certain forms
  6. Multi-language message support

Credits:

  1. Ted Serbinski's - I took the snippet from his blog
  2. jvandervort - I took few lines of code from his module Javascript Countdown Timer

Animated loaders resources:

Known issues:

  • Hiding buttons of AJAX forms may cause unwanted results
    The latest release adds configurations that can overcome such conflicts
    By excluding forms or buttons from the script
  • Using disable mode sometimes causes problems with multiple operation forms
I am open for new ideas.. feel free to submit feature requests..
If you want to join forces and help improve this module please contact me. I'm short of time and will appreciate any help including porting to D7, help with open issues and open for new ideas

Project Information

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.12 tar.gz (38.22 KB) | zip (41.67 KB) 2011-Oct-17 Notes
5.x-1.0 tar.gz (37.01 KB) | zip (41.21 KB) 2009-Aug-29 Notes

Development releases


Maintainers for Hide submit button

  • Optalgin - 65 commits
    last: 9 weeks ago, first: 3 years ago

Issues for Hide submit button

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 30 Dec 08