Disable The Salesforce Lookup Field Once It's Prefilled

In this guide, we will explain how to disable the Salesforce Lookup field once it is prefilled.

We will use the Field Update Workflow field to achieve this.

Drag and drop a Salesforce Lookup field and a Field Update Workflow field on your form. Rename the fields.

image

Click the pencil icon of the Salesforce Lookup field. Set Object and Display addition fields as shown below. Save the changes.

image

Click the pencil icon of the Field Update Workflow field and set the Rule Criteria as shown below.

Lookup field || not equal to ||

image

Set Field Updates Success.

Lookup field || disabled || true

image

Set Field Updates Fail.

Lookup field || disabled || false

image

Save the changes and try the form. It will disable the lookup field once it is prefilled.

image

Note: You can follow the same steps to disable a Salesforce Select field.

For any questions, please contact us - [email protected] or the Formyoula in-app chat 🙂