Validating the form
Basically you don't want the form to be submitted unless this is checked.
Using vanilla Java Script we can prevent form submission as follows: All this does is confirm before submitting the form that the checkbox is checked.
However, if you are unable to take advantage of our e-learning curriculum, we will try to assist you.
Problems have solutions, and we have mentors in Africa and other countries, teaching our courses in the classroom.
If not, an alert is displayed and focus is moved to the checkbox.
Not the prettiest solution, but functional in all browsers with Java Script enabled.
Therapon University is an institute of Online Learning to the Body of Christ, its primary vision being to equip born again believers for ministry.
Therapon University utilizes a proven format that has worked for thousands of working adults.
Adding HTML5 validation to the checkbox is actually very simple.
All people from all religions and denominations are welcome to study with us.
Most of our students study online - with no classroom attendance required.
You take just one course at a time, work at your own pace, and submit lessons online as they are completed. While HTML5 form validation is typically about missing or invalid text inputs, there are other form element types that also require attention. Suppose you have a form on your website that at the bottom asks people to "accept the Terms and Conditions" or something similar.