add ability to "require" fields in custom form

We recently made it possible to create all kinds of custom forms for different purposes. This update extends that capability by making it possible to set some fields as required before a person can submit the form.