required [HTML5]

This attribute specifies that the user must fill in a value before submitting a form.