JavaScript Validation

From w3schools.com, Experiment by Teeratus_R

Automatic HTML Form Validation

The required attribute prevents submission if the field is empty.