I did not touch the Form, actually. There are methods to check if a field is allowed to be empty or not, so that would cover your requirement