In this guide, we will explain how to set required fields based on other field values using the Field Update Workflow.
- We will pre-fill a Hidden field with a Checkbox value from Salesforce using a Lookup and Salesforce Pre-Fill field.
Please see this guide that explains the Salesforce Pre-Fill setup - Salesforce Prefill Field
- Please add the necessary fields on the form that will be set as required:
- Please add the “Workflow Field Update” on your form:
- Please edit the field and add the below validation settings:
Rule Criteria:
- Hidden Checkbox - equals - 1
Field Update Success:
- Text Field - required - true
- Number Field - required - true
- Email Field - required - true
Field Update Fail:
- Text Field - required - false
- Number Field - required - false
- Email Field - required - false
Now, once the Hidden field is pre-filled from a Salesforce checkbox field, all the validation fields will be set as required:
For any questions, please contact us - [email protected] or the Formyoula in-app chat 🙂