add a requirement constraint on the form fields