[AppExchange – 123FormBuilder] Prefill single choice and multiple choice form fields

In order for the prefill to work on choice fields, the API Name of the Salesforce field values has to be identical to the form fields’ options, as you can see in the example below.

In Salesforce:

Salesforce API name

On the form within the form builder:

Single choice field

Also, each field from a Salesforce object requires a separate lookup. You cannot retrieve all of the fields from an object in a single lookup.


Prefill for single choice fields

Single choice fields can be prefilled from Salesforce picklists.

Form setup:

Once you access the Salesforce Integration → Lookup tab on your form, you will need to create one lookup for each Salesforce picklist, multi-picklist, or checkbox in order to retrieve its value on the form.

The setup should be similar to the one below. First, select the Salesforce object that you want to look up and add a filter (can be the record ID coming from the form URL). Then, select the Salesforce field that you want to map with your form field.

Lookup choice fields

The next step will take you to the Form Prefilling tab in the Salesforce Integration section, where you will need to create prefill connector(s) for the lookup(s) you previously created in the Lookup tab.

After you select the lookup in the top dropdown, you just have to map the form fields to the relevant Salesforce fields in order to retrieve the value from the correct field.

Prefill single choice

Once the setup is complete and you preview the form, the single choice field should be prefilled, having the corresponding option from Salesforce selected.

On the form:

Single choice prefilled

In Salesforce:

Salesforce Account

Prefill for multiple choice fields

Multiple choice fields can be prefilled from Salesforce picklists, multi-picklists, and checkboxes.

The form setup is identical to the one above.

On the form:

Multiple choice

In Salesforce:

Multi-picklist

Related articles

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?