Disable Submit buttons onClick to minimize data spamming
I noticed that double-clicking form submit buttons created a frustrating issue in production where form data was submitted twice to the server. I think that the problem is related to my mongodb wrapper class, not necessarily other backend tools like SQLAlchemy... but I'd like to impose a few front end fixes to help remediate the problem. I'll create a separate issue to handle duplicate requests on the server side.
Originally posted by @signebedi in https://github.com/libreForms/libreForms-flask/issues/499#issuecomment-1900706530