• Languages
    • Dansk
    • Deutsch
    • Dutch
    • English
    • Norsk
    • Svenska
  • Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

Using pre-filled fields in forms

Audience:
person
•
Version: 10
Some tooltip text!
• 1 minute to read
 • 1 minute to read

To save your customers the time and trouble of filling in their name, email address, phone number, and so on, in forms, you can add field identifiers and template variables to the form links/URLs. When the customer opens a form, existing customer data is filled in using SuperOffice data.

A field identifier is a unique ID for a specific field. It will not change even if the field name/label or the language changes. This way you can ensure that links to this field are not broken after publishing the form.

Steps

  1. Create a new form.

  2. For each field you want to be pre-filled: Click Advanced options () to display the Identifier field, where you can add an ID for the field.

  3. Publish forms.

  4. Select Show with pre-filled fields to add field identifiers to the link/JavaScript. It should look something like this:

    ...formId=F-FH2K4Vru&field-name-1=&field-mail=
    

    If no field identifiers are added, you have probably not added these IDs to the fields in the form.

  5. Copy the link or JavaScript to a text editor or similar.

  6. Enter the relevant template variables between two square brackets AFTER the equal sign:

    ...formId=F-FH2K4Vru&field-name-1=[[customer.name]]&field-mail=[[customer.email]]
    
  7. Copy the complete link or JavaScript and publish it.

In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top