Disable submit unless all required fields are filled
-
I have set the short code for a contact form within a hidden div that onclick of a link opens a pop up window over the current page with the contact form. I have js that deals with opening and closing the pop up window. My problem is that when I click submit with all fields empty it reloads the whole page and the pop up window is removed and I am back to the top of the page. When I click the contact form link it shows me the fields that require filling out in red.
Is there a way to disable submit unless all required fields are filled or stop it reloading the page when submit is clicked?
Page: https://csupalliativecare.org/about/partners/community-2/
Link: Contact Us About This Course
- The topic ‘Disable submit unless all required fields are filled’ is closed to new replies.