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
  • Long-Text Input
  • Formatting Input with Prefixes and Suffixes
  • Allowing Multiple Answers
  • Default Answer

Was this helpful?

  1. Adding questions and content
  2. Questions

Text

Collects text answers

PreviousSelectNextAddress

Last updated 11 days ago

Was this helpful?

Text questions are used to collect short or long-form free-text input from responders. Common use cases include gathering names, email addresses, or open-ended feedback.

Text question answers are stored as a string data type.


Long-Text Input

By default, a text question shows a single-line input. To enable multiline responses:

  • Select the question.

  • Enable Multiline? in the settings panel.

  • Specify the minimum and maximum number of lines for the input box.

To customize the dimensions of the input box further (e.g. to create a longer feedback box):

  • Open the Style tab.

  • Toggle Override default text input style.

  • Apply your desired styling.

Limiting Answer Length

To control the length of a responder’s answer:

  • Enable Max length restriction?

  • Choose a limit by characters or words.

You can also enable Show remaining count? to display the number of characters or words remaining as the responder types.


Formatting Input with Prefixes and Suffixes

To provide additional context and guide responders on the expected input, you can add:

  • A Prefix (e.g. $ or @)

  • A Suffix (e.g. USD or .com)

These can be configured in the Settings menu under Prefix? and Suffix?.


Allowing Multiple Answers

To allow a responder to submit more than one value for a single question:

  • Enable Allow multiple answers in the settings.

Each new input will be treated as an individual item in an array of string values.


Default Answer

Use the Default answer setting to prepopulate the text field with a preset value. This value can still be edited by the responder.

Using Other Values as Answers

You can dynamically set the value of a Text question by referencing other variables in your flow:

  • Enable Another answer/variable in the settings.

  • Any other data-type-compatible variables will be available to choose (e.g. from a previous question, a calculated variable, or an API response).

This is useful for personalization or autofill behavior (e.g. pulling a first name from a previous step).

Constant

To assign a static value to a Text question that never changes:

  • Use the Constant setting.

This is helpful for storing a fixed value (e.g. an internal tag or a source code) in the answers payload without requiring responder input.