Hide submit button after clicking?

adamck
adamck
  • adamck
  • 13 months ago
Hi,
I wanted to be able to hide the submit button for a new question after the form validation.
This would be to prevent users from hitting submit multiple times before the form has processed.
This has been an issue for me as some users create multiple questions by pressing submit too many times before the form has completed.
I did manage to get this to work by adding an onclick javascript on the href but if the form wasnt correctly filled in, the button still dissapeared making it impossible to then submit.

Is it possible to add some javascript after the form validation to hide th button?
Im quite happy to add this code myself as i have already modified several sections of community answers to customise it.

Cheers
Adam.

Access to viewing replies is restricted.
Showing 4 of 4 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai