NueForm

Text Input Question Types

Short Text, Long Text, Email, Phone Number, Number, Website/URL, Contact Info, और Address question types का documentation।

Short Text

Names, titles, या short answers जैसे संक्षिप्त responses collect करने के लिए single-line text input।

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

Type identifier: short_text

Properties

PropertyTypeविवरणDefault
placeholderstringRespondent के type करने से पहले input में दिखाया जाने वाला placeholder text।None
maxLengthnumberअनुमत characters की maximum संख्या।None (unlimited)
minLengthnumberआवश्यक characters की minimum संख्या।None

Validation

Ruleविवरण
minLengthResponse कम से कम इतने characters का होना चाहिए।
maxLengthResponse इतने characters से अधिक नहीं होना चाहिए।
patternएक regex pattern जिससे response match होना चाहिए।
customMessageValidation fail होने पर दिखाया जाने वाला custom error message।

Logic Jump Operators

equals, not_equals, contains, not_contains, is_answered, is_not_answered

Answer Format

Answer एक string के रूप में store होता है।


Long Text

Feedback, descriptions, या paragraphs जैसे लंबे responses collect करने के लिए multi-line text area।

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

Type identifier: long_text

Properties

PropertyTypeविवरणDefault
placeholderstringTextarea में दिखाया जाने वाला placeholder text।None
maxLengthnumberअनुमत characters की maximum संख्या।None (unlimited)
minLengthnumberआवश्यक characters की minimum संख्या।None

Validation

Ruleविवरण
minLengthResponse कम से कम इतने characters का होना चाहिए।
maxLengthResponse इतने characters से अधिक नहीं होना चाहिए।
patternएक regex pattern जिससे response match होना चाहिए।
customMessageValidation fail होने पर दिखाया जाने वाला custom error message।

Logic Jump Operators

equals, not_equals, contains, not_contains, is_answered, is_not_answered

Answer Format

Answer एक string के रूप में store होता है।

Long text fields respondent के type करने पर vertically expand होते हैं। Short text fields के विपरीत, ये multi-line input support करते हैं और respondent नई lines बनाने के लिए Shift+Enter उपयोग कर सकता है।


Email

Built-in format validation के साथ email address field।

Email Question
An email question with validation.

Type identifier: email

Properties

PropertyTypeविवरणDefault
placeholderstringInput में दिखाया जाने वाला placeholder text।None

Validation

Email field स्वचालित रूप से validate करता है कि input standard email format (जैसे, user@domain.com) से match करता है। अतिरिक्त validation rules जोड़ी जा सकती हैं:

Ruleविवरण
patternअतिरिक्त validation के लिए custom regex pattern।
customMessageValidation fail होने पर दिखाया जाने वाला custom error message।

Logic Jump Operators

equals, not_equals, contains, not_contains, is_answered, is_not_answered

Answer Format

Answer एक string (email address) के रूप में store होता है।


Phone Number

International country code support के साथ phone number field।

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

Type identifier: phone

Properties

PropertyTypeविवरणDefault
placeholderstringInput में दिखाया जाने वाला placeholder text।None
defaultCountryCodestringPre-select करने के लिए default country code (जैसे, "US", "GB", "DE")।None

Validation

Phone number validation built-in है। Field international phone number formats accept करता है।

Logic Jump Operators

equals, not_equals, contains, not_contains, is_answered, is_not_answered

Answer Format

Answer एक string (country code सहित पूर्ण phone number) के रूप में store होता है।

Phone field में country code selector dropdown शामिल है। जब defaultCountryCode set होता है, dropdown उस country को pre-select करता है और उसका dialing code display करता है।


Number

Optional min/max range validation के साथ numbers collect करने के लिए numeric input field।

Number Question
A numeric input question with validation.

Type identifier: number

Properties

PropertyTypeविवरणDefault
placeholderstringInput में दिखाया जाने वाला placeholder text।None
minnumberअनुमत minimum value।None
maxnumberअनुमत maximum value।None

Validation

Ruleविवरण
minNumber इस value से greater than या equal होना चाहिए।
maxNumber इस value से less than या equal होना चाहिए।
customMessageValidation fail होने पर दिखाया जाने वाला custom error message।

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

Answer एक number (या unanswered होने पर null) के रूप में store होता है।

Quiz Mode

Quiz modes में, Number question type scorable नहीं है -- यह automated scoring में participate नहीं करता।


Website / URL

Web addresses collect करने के लिए URL field। NueForm url और website types को identically treat करता है।

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

Type identifier: url या website

Properties

PropertyTypeविवरणDefault
placeholderstringInput में दिखाया जाने वाला placeholder text।None

Validation

Field validate करता है कि input properly formatted URL है।

Logic Jump Operators

equals, not_equals, contains, not_contains, is_answered, is_not_answered

Answer Format

Answer एक string (URL) के रूप में store होता है।


Contact Info

एक composite field जो एक ही question में respondent का name, email address, और phone number collect करता है। यह एक convenience type है जो multiple text inputs को एक form step में combine करता है।

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

Type identifier: contact_info

Properties

PropertyTypeविवरणDefault
defaultCountryCodestringPhone number sub-field के लिए default country code।None
fieldsFormQuestion[]Optional custom sub-field definitions। Provide होने पर, ये default name/email/phone fields को override करते हैं।Default sub-fields

Sub-Fields

Contact Info question में default रूप से तीन sub-fields शामिल हैं:

  1. Name -- एक short text field।
  2. Email -- Format validation के साथ email field।
  3. Phone -- Country code support के साथ phone number field।

Contact Info questions के लिए question number prefix hidden होता है, क्योंकि ये multiple input fields एक साथ display करते हैं।

Answer Format

Answer एक object (Record<string, string>) के रूप में store होता है जिसमें प्रत्येक sub-field के लिए keys होती हैं:

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

Address

Optional Google Places autocomplete के साथ पूर्ण mailing address field।

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

Type identifier: address

Properties

PropertyTypeविवरणDefault
enableAddressAutocompletebooleanRespondents को अपना address जल्दी भरने में मदद करने के लिए Google Places autocomplete enable करें।Disabled
fieldsFormQuestion[]Optional custom sub-field definitions। Provide होने पर, ये default address fields को override करते हैं।Default sub-fields

Sub-Fields

Address question में निम्नलिखित sub-fields शामिल हैं:

  1. Street Address -- Street address line।
  2. City -- City या locality।
  3. State/Province -- State, province, या region।
  4. Postal/ZIP Code -- Postal या ZIP code।
  5. Country -- Country।

Address Autocomplete

जब enableAddressAutocomplete enabled होता है, respondents अपना address type करना शुरू कर सकते हैं और Google Places से suggestions देख सकते हैं। Suggestion select करने पर सभी address sub-fields auto-fill हो जाते हैं।

Address autocomplete के लिए आपकी NueForm account settings में Google Maps API key configured होना आवश्यक है। Address questions के लिए question number prefix hidden होता है।

Answer Format

Answer एक object (Record<string, string>) के रूप में store होता है जिसमें प्रत्येक sub-field के लिए keys होती हैं:

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

Media Attachments

सभी text input question types media attachments support करते हैं। आप किसी भी text question में image, video, icon, या QR code जोड़ सकते हैं। Media options और layout configurations के details के लिए Creating Forms guide देखें।

अंतिम अपडेट: 6 अप्रैल 2026