Formcrafts - a form and survey platform for Salesforce, HubSpot, etc
  1. Templates
    1. All templates illustration
      All templates
    2. Application forms illustration
      Application forms
    3. Calculation forms illustration
      Calculation forms
    4. Lead generation forms illustration
      Lead generation forms
    5. Customer service illustration
      Customer service
    6. Evaluation forms illustration
      Evaluation forms
    7. Survey and feedback illustration
      Survey and feedback
    8. Operations forms illustration
      Operations forms
    9. Payment forms illustration
      Payment forms
    10. Booking and registration illustration
      Booking and registration
    11. Salesforce forms illustration
      Salesforce forms
    12. Other forms illustration
      Other forms
  2. Features
    1. 18 Form Fields illustration
      18 Form Fields
    2. 19 Integrations illustration
      19 Integrations
    3. Conditional Logic illustration
      Conditional Logic
    4. Multi-step Forms illustration
      Multi-step Forms
    5. Calculations illustration
      Calculations
    6. Partial Submissions illustration
      Partial Submissions
    7. Save & Resume illustration
      Save & Resume
    8. Payments illustration
      Payments
    9. Hidden Fields illustration
      Hidden Fields
    10. Dynamic Dropdowns illustration
      Dynamic Dropdowns
    11. Engagement analysis illustration
      Engagement analysis
    12. Multilingual forms illustration
      Multilingual forms
  3. Pricing
  4. Help
  5. Login
  6. Signup
    →
  • Help index
  • Features
    • Conditional logic
    • Prefill forms
    • Multi-step forms
    • Calculations
    • Partial submissions
    • Field references
    • Save and resume
    • Hidden fields
    • Dynamic lookup
    • Workflows
    • Dynamic dropdowns
    • Multilingual forms
    • Privacy mode
    • Success message
    • Form redirect
    • GA/GTM
    • Accept payments
    • Linked forms
    • Disable form
  • Styling
    • Custom CSS
    • Custom fonts
    • Color scheme
    • Form background
  • Analytics
    • Test mode
    • Overview
    • Field analytics
    • Form engagement
  • Workflows
    • Send emails
    • Form redirect
    • Success message
    • Webhooks
    • Create PDF
    • ActiveCampaign
    • Asana
    • Mailchimp
    • Front app
    • Freshdesk
    • Google Sheets
    • Pipedrive
    • Linear
    • Klaviyo
  • Sharing
    • Custom form link
    • Embed on a page (inline)
    • Embed on a page (popup)
    • Embed in emails
    • Embed on WordPress
    • Embed on Shopify
    • Embed on Squarespace
  • Salesforce
    • Overview
    • Create records
    • Update records
    • Related records
    • Dynamic picklists
    • Attach files
    • Create PDFs
    • Form prefill
  • HubSpot
    • Overview
    • Create contact form
    • Create lead capture form
    • Create customer survey
    • Prefill HubSpot form
    • Embed on HubSpot page
    • Uninstall
  • Zendesk
    • Create ticket form
    • Create CSAT survey
    • Embed on Help Center
    • Prefill ticket form
  • Admin
    • Users
    • Custom domain
    • Vanity subdomain
    • Subscription
  • Developers
    • Embed Library
    • API keys
    • API v1
    • API v2
  • Others
    • Partner program
    • GDPR compliance
    • Workflow logs
    • White labeling
    • Form speed
    • Zapier
    • Migration
  • Contact
  1. Help
  2. ›
    Features
  3. ›
    Field references

Field References

On this page
  1. Introduction
  2. Practical examples
  3. How to create a reference
  4. What can be referenced
    1. Form fields
    2. Global references
    3. Results of dynamic lookups
    4. Results of workflow actions
  5. Some notes
    1. Option label vs option value
    2. Address field

Introduction

Field references are a way to recall information from other fields. Field references can be used in many places, like rich text fields, hidden fields, conditional logic, emails, workflows, etc …

Here is an example. Our support form asks for first name and contact reason. The second page of our form uses this information to create a personalized message, using the rich text field.

Field references form page 1: Personal information
Page 1: Personal information
Field references form page 2: Personalized message
Page 2: Personalized message

Practical examples

Here are some practical examples of how to use field references.

  1. Show order information in a rich text field as the user fills out the form.
  2. Create a Confirm details page which shows all previously entered data.
  3. Send personalized emails to admins that include specific form information (via workflows)
  4. Create personalized success messages (via workflows)
  5. On form submit, redirect the user to a URL that includes a form input (via workflows)

How to create a reference

When editing the contents of a rich text field, for example, type in @. This will open a list of all available references. Select the one you want to use.

Accessing the field references dropdown
Accessing the field references dropdown

What can be referenced

Form fields

All field values are available as references. This includes hidden fields.

Global references

Global references include:

  1. Response summary: This reference will summarize all the form data. This is useful when you want to include all information, but without having to specify fields individually.
  2. URL parameter: This reference allows you to get the value from a specified URL parameter.
  3. Form ID: The unique form ID.
  4. Form name: The name of the form.
  5. Page URL: The form URL. If the form is embedded on a page, this would be the URL of that page.
  6. Page title: The title of the form page.

Some other global references are available when configuring workflows. These references are not available in the form itself since they are created once the form is submitted.

They can be used in workflows, and the default success message.

  1. Response ID: The unique response ID.
  2. Visitor country: The country of the form respondent (based on GeoIP).
  3. Time: The date and time of form submission, in ISO8601 format.

Results of dynamic lookups

The results of dynamic lookups are also available as references. Example: you have a dynamic lookup rule that looks up a user’s first name based on their email address. The result of this lookup is available as a reference.

Results of workflow actions

The results of workflow actions are also available as references in all subsequent actions and the default success message.

Subsequent actions

Example we have a workflow with two actions: create a Zendesk ticket, and modify the success message. The result of the first workflow action (result being the Zendesk ticket ID) is available in the next workflow action (success message).

You could edit the success message in this workflow to then include the newly created Zendesk ticket ID.

Referencing a workflow action  in another action
Referencing a workflow action in another action

Default success message

If no Success message workflow is configured, the default success message is used instead. The results of all workflow actions are available in the default success message.

The default success message can be edited right below the Add Step button.

Default form success message
Default success message

Some notes

Option label vs option value

When adding options to a dropdown or multiple choice field you would notice that each option has a label and a value. The option label is what the user sees when filling out the form. The option value is used when processing the form.

Multiple choice field: option labels vs values
Option labels vs values

When referencing a field, you can choose to reference the option label or the option value.

Address field

When referencing an address field, you can reference the individual address components or the default address.

The default address component (like Your address) represents the full address, such as: 100 Queen Street West, Toronto, ON, M5H 2N2, CA

Other address components include line 1, line 2, city, state, postal code, and country. Learn more about the address field ↗.

Minimal, fast, and powerful. Try now.
Formcrafts - a form and survey platform for Salesforce, HubSpot, etc

Subtle Web Inc,
225 Railway St E,
T4C 2C3, Cochrane AB

Salesforce AppExchange partner logo HubSpot app partner logo
Templates
Application formsLead generation formsSurvey & feedback formsEvaluation formsSupport request formsBooking & registrationContact forms
Comparisons
vs AllFormAssemblyTypeformJotformWufooSurveyMonkey
Features
Conditional logicSalesforce formsHubSpot formsZendesk ticket formsEmail formsIntegrationsForm fields
Resources
Help centerBlogDeveloper APIGDPRStatusReport abuseContact us
Company
About usNonprofitCase studiesSecurityTerms and privacy