we use the html 'required' attribute