Conditional Option for Required Form Object

Conditional Option for Required Form Object

Make the "red star" appear denoting a form field is required  based on user actions in the form before clicking SUBMIT.

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