The required Attribute
The required Attribute
Specifies that an input field must be filled out before submitting the form.
Works with the following input types: text, search, url, tel, email, password, date pickers, number, checkbox, radio, and file.