Disable class submit button(s) on submit.

This prevents multiple submissions of the same form, on the client side.
Merge branch 'main' into issue732
Use different method to prevent multiple class reg form submissions.

Now we set the onsubmit function to disable the form, on the first submit.
Merge pull request #751 from learning-unlimited/issue732

Disable class submit button(s) on submit.