Prefill Web Form Fields

Web forms can display with one or more fields prefilled with data, letting you simplify the form completion process for your contacts.

By appending specially formatted parameters to the web page URL, any database or custom contact field that appears on the form can be set with a default value. Field values submitted in a prefilled form overwrite the existing values in the contact record. Prefilled values can be unique to the placement of each link. For example, you can publish links at three different sites to a single web form but configure each link to prefill fields on the form with different values.

To prefill fields in a web form, the document containing the form must first be served in a campaign or advanced survey using a Serve Web Page element. See Edit Serve Web Page Attributes.

  1. Open the campaign or survey that serves the document containing the web form.
  2. Double-click the Serve Web Page element to open the Serve Web Page window.
  3. To prefill the web form with any field information that can be derived from a contact’s B2C Service browser cookie, click the User Identification tab.
    1. Select Other Credentials.
    2. Select the Cookie check box to enable browser cookie identification.
      Note: Prefilled field values override any common values set by the cookie.
    3. Select the Email Click-Through Parameters check box to enable parameters passed in the URL.
  4. Click the Web Page tab and click Copy URL.
    1. Click OK to acknowledge that the web page URL has been copied to the clipboard.
  5. Click OK to close the window.
  6. If you have not already launched the campaign or survey, click Launch on the Home tab.
    1. Click OK to launch and save.
  7. Open a new web browser and paste the web page URL into the browser address field.
  8. Append parameters to the URL to define which fields you want to prefill. See How You Append Field Parameters.
    1. Submit the URL in your web browser and confirm the fields are prefilled as you want.
  9. Copy the updated URL from the browser address field and publish the link to your designated external sources.