Boost recurring donations this giving season with the new upsell prompt!Learn How >>

Pre-populating Form field values through a URL

updated

If you have a Forms page, you can create links to that Forms page which include pre-defined values set in that URL. This is sometimes called pre-fill.  Any field included on the Forms page can be used whether it is hidden or not, provided it doesn't have a Default Value identified.

For the field you wish to insert a value from the url, use the Salesforce Name. This name can be viewed in the Forms page's Form tab in the Element column or by viewing the rendered HTML of the form and locating the id for the field.

For an example of the formatting for the full URL, review this link that includes the name Mickey as the First Name:  

http://www.yourdomain.org/signup-form?Lead_FirstName=Mickey

To include multiple variables in the url string, simply include an ampersand between them like this:

http://www.yourdomain.org/signup-form?Lead_FirstName=Mickey&Lead_LastName=Mouse
NOTE: Including values in this manner is particularly helpful when sending mass email correspondence through a tool like Soapbox Mailer for Salesforce with a call to action that leads the recipient to a Forms page.
Have more questions? Submit a request
Article is closed for comments.