LogoLogo
Back to studio
  • 🧠Core Concepts
    • Introduction to Formsort
    • Formsort quickstart guides
      • Add content and collect answers
      • Capture demographic data
      • Add informational content
      • Template your variables
      • Add conditional logic
      • Using conditional logic with Calculated and API variables
      • Add a scheduling option
      • End the flow
      • Review your variable schema
      • Set up integrations
    • How data works in Formsort
      • Responder UUIDs
    • Understanding flows
    • Versioning in Formsort (Deploying)
      • Variant revisions
      • Managing revisions
  • ✨Creating Flows
    • Building a new flow
      • Groups
      • Steps
      • Copy-pasting form content
  • Adding questions and content
    • Questions
      • Select
      • Text
      • Address
      • Comparison
      • Confirmation
      • Date
      • Date & time
      • Email address
      • File upload
      • Grid choice
      • Iframe
      • Image upload
      • Number
      • Payment
      • Phone number
      • Postal code
      • Question group
      • Region
      • Signature
      • SSN
      • Yes/No
    • Content
      • Statement
      • Image
      • Next button
      • Video
      • Divider
      • Map
  • Controlling the flow with conditions and logic
    • Advanced logic
  • Variable templating
  • Redirects and endings
  • Field validation
  • Flow and variant management
  • Content library
  • 🧬JSON Form Definition
  • JSON schemas
  • Validating flow schemas
  • Events subscriptions
  • Flow content data format
  • 🎨Styling
    • Customizing appearance
      • Content area & form layout
      • Buttons
      • Typography
      • UI states
      • Color and dimension variables
      • Question containers
      • Inputs and dropdowns
      • Checkmarks
      • Tables
      • Sliders
      • Divider lines
      • Progress bar
      • Comparison cards
      • Animations and transitions
  • CSS & Advanced Styling
    • Custom CSS overrides
    • Step styling
    • CSS reference
  • 🔁Form Behavior Settings
    • Variant settings
      • Form behavior for returning users
      • Group ranking API
    • Navigation sidebar
  • ⚙️Response Data Collection & Management
    • Schema (variables)
      • Variables from questions
      • Externally provided variables
      • Calculated variables
      • API lookups
      • System Library variables
      • Orphaned variables
  • Saving & retrieving responses
  • Importing Data
    • URL parameters
    • POST body
    • Embed query parameters
  • 📊Analytics and Attribution
    • Built-in analytics
    • Split testing
  • 🚀Publishing and Deployment
    • Live preview overview
    • Environments
      • Loading different environments
    • Embedding
      • Web-embed API
        • React-embed
      • Adding authentication
      • Embedding forms in iOS and Android
      • Setting up a dev environment
    • Pre-deployment checklist
  • 📁Workspace Management
    • Accounts
      • Roles and permissions
    • Custom domains
    • Workspace domain detection
  • 🛠️Formsort Admin API
    • Admin API
  • 🔌Integrations
    • Form answers and events
      • Analytics events
      • Signed requests
      • Event payload shape
      • Submission frequencies
      • Runtime error reporting
    • Integration reference
      • Amplitude
        • Amplitude cross domain tracking
      • BigQuery
      • FullStory
      • Google Analytics
        • Updating from Universal Analytics to GA4
      • Google Cloud Storage
      • Google Sheets
      • Google Tag Manager (GTM)
        • JavaScript triggered by flow events
      • Hubspot
      • Jornaya
      • Optimizely
      • PostgreSQL
      • Redshift
      • Rudderstack
      • S3
      • Salesforce
      • Segment
        • Segment Setup
        • Segment cross domain tracking
      • Stripe
      • TrustedForm
      • Webhooks
        • Zapier
Powered by GitBook
On this page
  • Capturing demographic data
  • Add a step
  • Capture name
  • Capture phone and email
  • Capture date of birth
  • Capture address

Was this helpful?

  1. Core Concepts
  2. Formsort quickstart guides

Capture demographic data

Learn how to capture the most common types of demographic data from your responder.

PreviousAdd content and collect answersNextAdd informational content

Last updated 1 day ago

Was this helpful?

Capturing demographic data

It’s likely that you’ll want to capture some demographic information from your users, such as first and last name, contact information, and any other identifying information that may be relevant to your business. Let’s build a couple steps that will capture basic information from your users.

Add a step

To start, we’ll want to add a . A step can be thought of as a container for questions, and will render as a single “page” that the responder will see.

Capture name

The next two steps will apply to every question you create:

  • Add a title to the question so the responder understands what the question is asking. As you can see in the gif below, this will automatically update the “Question Label” and the “Variable” sections in the question Settings.

  • Be sure to provide a useful variable name in the Variable section. This will be the name of the data value when an answer payload is sent. As a default measure, this box will automatically copy whatever you’ve put as the question title -- it’s probably necessary to rewrite this.

In the text component’s settings, you have the option to add placeholder text for the input box, to provide more clarity and direction for your users.

Capture phone and email

Phone

Add a phone component and, same as the text component, be sure to title the question and rename the variable.

Since the user is entering information into an input box, placeholder text can also be used here. Input mask will be on by default, which will automatically format the user’s response as (123)456-7890 . This setting can be turned off.

Email

Now, add an email.

“Warn about common domain typos” is a setting that will be on by default, and will provide a warning for users if it detects an error in the email domain (e.g. gnail.com vs gmail.com).

Capture date of birth

It's up to you where in the flow you'd want to put this question: you can add it to the list of demographic questions on the first step, or - if you'd like the flow to feel more conversational - you can add it to it's own step.

There are a number of options to be toggled with this component, and the list may be worth experimenting with if a date component is going to be used for any other reason. For the purposes of capturing someone's date of birth, it is suggested to at least toggle on "Only allow dates in the past?".

Capture address

First, we’ll probably want to create a new step for this, since the address component may take up some real estate if "Use single field?" is not enabled. It also helps the user feel the progression in the flow, and helps to break up the sense of monotony that comes with filling out a long list.

Now that we have the question container, let’s add some questions to it. The first thing we’ll want to know about a user is their name. are the perfect tool for this since they allow users to enter text freely.

Check out of how others capture first and last name in their flows.

Next, we may want to capture their phone number and/or email. There are two components we can use for this: and . Pretty simple!

It is generally good practice to give context as to why contact information is being collected, and what you plan to do with this information. A is a great way to add this additional context to a question, without adding more components to a page. Simply toggle "Has info text?" on, and add the text required to inform your users.

Oftentimes we may need to capture a user's date of birth - either to follow up for a birthday, or to tailor an experience using a . The is the tool of choice here, which can be used for capturing more than just dates of births!

Since we've already captured some of the basic contact information for our responder, we might want to capture their address. The can be used for this, and will automatically provide the fields required for a complete address.

There are several options for an address component, like formatting for , or using a USPS integration. It is worth reviewing the detailed to get a better understanding of what you can do here.

🧠
Text components
some examples
phone
email
tooltip
based on the user's age
calculated variable
date component
address component
International addresses
Validating US addresses
address docs page
step
Click "add step"
Add a question in the question title
Add a placeholder for the input box
Create a phone component
Add an email component. Be sure to rewrite the variable
Adding a Date component to a new step
Add a Step, and an Address component