Currently if a form field is not marked required, we can employ code in the validation process to check form fields for some condition, and terminate form processing if the conditions are met. This is an after-the-fact check to make a form field required.
It would be a better experience for the users to have a code option to make form fields required or not based on user actions
before clicking SUBMIT. For example, if the user selected a "contact me" option on some type of reporting form, the script can make the "red star" appear on a phone number filed making it required before clicking SUBMIT.
John M. Whitney