just a request:
Make the submit buttons disabled with JS after submit so user doesnt think he didnt submit form (on slow server may happen).
I guess we can assume most users have JS enabled.
just a request:
Make the submit buttons disabled with JS after submit so user doesnt think he didnt submit form (on slow server may happen).
I guess we can assume most users have JS enabled.
Comments
Comment #1
imclean commentedInstead of hacking the module, my quick and dirty solution is to add some js to my theme's js file, in this case, functions.js:
To add the JS file, stick this in your template.php:
drupal_add_js (drupal_get_path('theme', $GLOBALS['theme_key']) . '/functions.js', 'module');This adds the function to all webforms. If you only require it with certain ones then modify the code as necessary.
Comment #2
maxferrario commentedYou could also try to use the "Block submitting twice" module: http://drupal.org/project/block_submit
Comment #3
quicksketchI think it would make sense to have this be provided by a separate module (as recommended by maxferrario). This problem exists on just about all forms in Drupal (comments, nodes, settings forms, etc.)