[AppExchange – 123FormBuilder] Lookup fields

You can use a lookup to search for specific information within a Salesforce record or object and return the content to the form for further use. This can be done in two ways:

  1. To map the information to another Salesforce record (use it in the Object Mapping);
  2. To prefill form fields (use it in Prefill Section).

How to Set Up a Lookup in 123FormBuilder

1. First, go to the Lookup section on the left menu and click Create lookup.

Create lookup

2. Afterward, select the Salesforce object where the search should be made to find a record.

In this case, the object will be Lead.

Select object

3. Give a name to your lookup. You might create more than one.

4. The lookup can be based on an entry (or multiple entries) made on the form. You need to add a filter and select the form field(s) that will be used to search in the Lead object.

Select operator

Note: If you want to return information from all records in a specific object, there’s no need to add a filter. For example, if you want to display a list of all company names from Salesforce on the form, simply create a Lookup in the Account object without applying a filter, and select the Company Name field to return.

5. You can add multiple filters by clicking on Add new filter. By default, between the two filters, the AND logic operator is chosen, but you can change it to OR.

6. If multiple records match the filters, you can select which one should be returned from your object. This option is helpful if there are duplicate records in your ORG:

7. Once you’ve set up the filters and defined what happens if multiple records match, proceed to the Salesforce fields to return section. Here, you can choose the Salesforce fields you want to retrieve from the record. These fields can then be used to prefill form fields or sent back to Salesforce as information for another object

7. Lastly, save the settings by selecting the Apply Changes button.

How to use the lookup results in the Object Mapping:

1. Go to the Object Mapping section and select the object where the field from Leads will be returned, in this case, Account.

2. Select the Salesforce field where the data should be returned and match it with the lookup object you created.

How to use the Lookup results for Prefilling form fields

The lookup data can also be used to populate form fields with information from Salesforce.

1. Navigate to the Prefill Connector.

2. Click Add prefill connector.

3. Go to the Prefill Connector section and select your Lookup:

4. Define Prefill Triggers (if any).

5. Map your Salesforce returned fields to your Form Fields:

Form fields will now be prefilled with the existing Salesforce data retrieved through your lookups.

Note: Ensure that the field types in your form match the corresponding field types in Salesforce. This includes aspects like input types, date formats, and character or value limitations.

There are different types of prefill, each with its own setup process. To learn more, read the articles on this topic:

  1. URL prefill setup (when the form is shared/used from the Salesforce side – eg: form link is sent in an email).
  2. Dynamic Prefill (used when you need input from the form visitor to trigger the lookup & prefill).
  3. Experience Prefill (the form is published on an Experience page).

4 comments

  1. When you add two different conditions, this stops working. For example, I want to prefill my form with a list of accounts that are either of the type “A” OR type “B”. As soon as you add in the second value, it stops working as a prefill and the field just shows as a blue color. How do you add two conditions and have the prefill still work?

Leave a Reply

Your email address will not be published. Required fields are marked *

Frequently Asked Questions

Here is a list of the most frequently asked questions. For more FAQs, please browse through the  FAQs page.

Is this service free?
Yes, we offer a free form builder service. Just sign up to the Basic plan and you are all set. This plan is forever free, but you are limited with a few features only, such as 5 forms per account, 100 submissions per month and you have to keep the backlink to 123FormBuilder on your forms. Check out our features matrix for more information.
How many forms can I create?
It depends on the service plan you are on. Higher service plans enable more features, including more web forms for your account. If you need more forms, go to the My Account section of your account and click the upgrade button. To create an unlimited number of forms, either upgrade to the Platinum service plan or higher. Consult our features matrix for more information.
How can I publish my forms?
You can publish your forms in many ways, by using their direct URL or HTML link, embedding them with a JavaScript code, Inline HTML or iFrame, using the Facebook app or the WordPress plugin, using popups, the Blogger code snippet and many more. Once you have created and customized your form, go to the Publish section to complete your work. Read more in our documentation.
How do I change my form design?
You can change the design of your form for more information. in the Themes section, which is located in your form settings. We offer a set of more than 30 predefined form themes for your forms, but you can also create your own from scratch. You can customize the submit button, the logo and more. To apply your own stylesheets, all forms come with a custom CSS editor.

Can't find what you're looking for?