NueForm

Text Input Question Types

Documentation for Short Text, Long Text, Email, Phone Number, Number, Website/URL, Contact Info, and Address question types.

Short Text

A single-line text input for collecting brief responses such as names, titles, or short answers.

Short Text Question
A short text question as seen by respondents.

Type identifier: short_text

Properties

PropertyTypeDescriptionDefault
placeholderstringPlaceholder text shown in the input before the respondent types.None
maxLengthnumberMaximum number of characters allowed.None (unlimited)
minLengthnumberMinimum number of characters required.None

Validation

RuleDescription
minLengthThe response must be at least this many characters.
maxLengthThe response must be no more than this many characters.
patternA regex pattern the response must match.
customMessageCustom error message when validation fails.

Logic Jump Operators

equals, not_equals, contains, not_contains, is_answered, is_not_answered

Answer Format

The answer is stored as a string.


Long Text

A multi-line text area for collecting longer responses such as feedback, descriptions, or paragraphs.

Long Text Question
A long text question with multi-line input.

Type identifier: long_text

Properties

PropertyTypeDescriptionDefault
placeholderstringPlaceholder text shown in the textarea.None
maxLengthnumberMaximum number of characters allowed.None (unlimited)
minLengthnumberMinimum number of characters required.None

Validation

RuleDescription
minLengthThe response must be at least this many characters.
maxLengthThe response must be no more than this many characters.
patternA regex pattern the response must match.
customMessageCustom error message when validation fails.

Logic Jump Operators

equals, not_equals, contains, not_contains, is_answered, is_not_answered

Answer Format

The answer is stored as a string.

Long text fields expand vertically as the respondent types. Unlike short text fields, they support multi-line input and the respondent can use Shift+Enter to create new lines.


Email

An email address field with built-in format validation.

Email Question
An email question with validation.

Type identifier: email

Properties

PropertyTypeDescriptionDefault
placeholderstringPlaceholder text shown in the input.None

Validation

The email field automatically validates that the input matches a standard email format (e.g., user@domain.com). Additional validation rules can be added:

RuleDescription
patternA custom regex pattern for additional validation.
customMessageCustom error message when validation fails.

Logic Jump Operators

equals, not_equals, contains, not_contains, is_answered, is_not_answered

Answer Format

The answer is stored as a string (the email address).


Phone Number

A phone number field with international country code support.

Phone Number Question
A phone number question with country code selector.

Type identifier: phone

Properties

PropertyTypeDescriptionDefault
placeholderstringPlaceholder text shown in the input.None
defaultCountryCodestringThe default country code to pre-select (e.g., "US", "GB", "DE").None

Validation

Phone number validation is built-in. The field accepts international phone number formats.

Logic Jump Operators

equals, not_equals, contains, not_contains, is_answered, is_not_answered

Answer Format

The answer is stored as a string (the full phone number including country code).

The phone field includes a country code selector dropdown. When defaultCountryCode is set, the dropdown pre-selects that country and displays its dialing code.


Number

A numeric input field for collecting numbers with optional min/max range validation.

Number Question
A numeric input question with validation.

Type identifier: number

Properties

PropertyTypeDescriptionDefault
placeholderstringPlaceholder text shown in the input.None
minnumberMinimum allowed value.None
maxnumberMaximum allowed value.None

Validation

RuleDescription
minThe number must be greater than or equal to this value.
maxThe number must be less than or equal to this value.
customMessageCustom error message when validation fails.

Logic Jump Operators

equals, not_equals, greater_than, less_than, greater_than_or_equals, less_than_or_equals, is_answered, is_not_answered

Answer Format

The answer is stored as a number (or null if unanswered).

Quiz Mode

In quiz modes, the Number question type is not scorable -- it does not participate in automated scoring.


Website / URL

A URL field for collecting web addresses. NueForm treats the url and website types identically.

Website/URL Question
A URL input question for collecting web addresses.

Type identifier: url or website

Properties

PropertyTypeDescriptionDefault
placeholderstringPlaceholder text shown in the input.None

Validation

The field validates that the input is a properly formatted URL.

Logic Jump Operators

equals, not_equals, contains, not_contains, is_answered, is_not_answered

Answer Format

The answer is stored as a string (the URL).


Contact Info

A composite field that collects a respondent's name, email address, and phone number in a single question. This is a convenience type that combines multiple text inputs into one form step.

Contact Info Question
A composite contact information question with name, email, and phone fields.

Type identifier: contact_info

Properties

PropertyTypeDescriptionDefault
defaultCountryCodestringDefault country code for the phone number sub-field.None
fieldsFormQuestion[]Optional custom sub-field definitions. If provided, these override the default name/email/phone fields.Default sub-fields

Sub-Fields

The Contact Info question includes three sub-fields by default:

  1. Name -- A short text field.
  2. Email -- An email field with format validation.
  3. Phone -- A phone number field with country code support.

The question number prefix is hidden for Contact Info questions, as they display multiple input fields together.

Answer Format

The answer is stored as an object (Record<string, string>) with keys for each sub-field:

json
{
  "name": "John Smith",
  "email": "john@example.com",
  "phone": "+1 555-0123"
}

Address

A full mailing address field with optional Google Places autocomplete.

Address Question
A full address input with multiple sub-fields.

Type identifier: address

Properties

PropertyTypeDescriptionDefault
enableAddressAutocompletebooleanEnable Google Places autocomplete to help respondents fill in their address quickly.Disabled
fieldsFormQuestion[]Optional custom sub-field definitions. If provided, these override the default address fields.Default sub-fields

Sub-Fields

The Address question includes sub-fields for:

  1. Street Address -- The street address line.
  2. City -- The city or locality.
  3. State/Province -- The state, province, or region.
  4. Postal/ZIP Code -- The postal or ZIP code.
  5. Country -- The country.

Address Autocomplete

When enableAddressAutocomplete is enabled, respondents can start typing their address and see suggestions from Google Places. Selecting a suggestion auto-fills all address sub-fields.

Address autocomplete requires a Google Maps API key to be configured in your NueForm account settings. The question number prefix is hidden for Address questions.

Answer Format

The answer is stored as an object (Record<string, string>) with keys for each sub-field:

json
{
  "street": "123 Main Street",
  "city": "San Francisco",
  "state": "CA",
  "zip": "94105",
  "country": "United States"
}

Media Attachments

All text input question types support media attachments. You can add an image, video, icon, or QR code to any text question. See the Creating Forms guide for details on media options and layout configurations.

Dernière mise à jour : 6 avril 2026