I had a form that had two input buttons, one was an Ajax form button for uploading files and the other was a regular submit button. Each had the class ".form-submit". So the word "Processing.." was being applied to the Ajax button and not to the main submit button. Also, the main submit button was not being disabled.

I had to go into hide_submit.js and hack it:

CHANGED 'input.form-submit, button.form-submit' to '#edit-submit-button, input.webform-submit' because it was being applied to the UPLOAD AJAX Button.

Obviously this is not ideal because if there are buttons whose CSS classes are outside of '#edit-submit-button' and 'input.webform-submit', the functionality won't be applied.

I feel like this module would be better if the javascript were configurable and you could set which CSS classes to apply the functionality. It would default to 'input.form-submit, button.form-submit' but you could override this for your specific needs.

Comments

jmart created an issue.