Show Submit Button Only When Required Fields Not Empty

I was wondering whether there’s a snippet or plugin out there that would cause the submit button of a form to only be displayed once all visible required fields had been filled in or selected. It should ignore conditionally hidden fields.

The reason is that I have some forms that are quite lengthy and setting conditional logic on the button becomes a pain.

I know, I sound really lazy… but I am! :grin:

Hiding the submit button is a big issue for web accessibility for people with disabilities. Really not advisable to do this.

I know, but in this particular case it’s necessary.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.