til

Use HTML5 To Require A Field

You can require specific form fields so that your user will not be able to submit your form until he or she has filled them out.

<input type="text" required>

source