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

Type identifier: short_text
Properties
| Property | Type | विवरण | Default |
|---|---|---|---|
placeholder | string | Respondent के type करने से पहले input में दिखाया जाने वाला placeholder text। | None |
maxLength | number | अनुमत characters की maximum संख्या। | None (unlimited) |
minLength | number | आवश्यक characters की minimum संख्या। | None |
Validation
| Rule | विवरण |
|---|---|
minLength | Response कम से कम इतने characters का होना चाहिए। |
maxLength | Response इतने characters से अधिक नहीं होना चाहिए। |
pattern | एक regex pattern जिससे response match होना चाहिए। |
customMessage | Validation 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।

Type identifier: long_text
Properties
| Property | Type | विवरण | Default |
|---|---|---|---|
placeholder | string | Textarea में दिखाया जाने वाला placeholder text। | None |
maxLength | number | अनुमत characters की maximum संख्या। | None (unlimited) |
minLength | number | आवश्यक characters की minimum संख्या। | None |
Validation
| Rule | विवरण |
|---|---|
minLength | Response कम से कम इतने characters का होना चाहिए। |
maxLength | Response इतने characters से अधिक नहीं होना चाहिए। |
pattern | एक regex pattern जिससे response match होना चाहिए। |
customMessage | Validation 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 उपयोग कर सकता है।
Built-in format validation के साथ email address field।

Type identifier: email
Properties
| Property | Type | विवरण | Default |
|---|---|---|---|
placeholder | string | Input में दिखाया जाने वाला placeholder text। | None |
Validation
Email field स्वचालित रूप से validate करता है कि input standard email format (जैसे, user@domain.com) से match करता है। अतिरिक्त validation rules जोड़ी जा सकती हैं:
| Rule | विवरण |
|---|---|
pattern | अतिरिक्त validation के लिए custom regex pattern। |
customMessage | Validation 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।

Type identifier: phone
Properties
| Property | Type | विवरण | Default |
|---|---|---|---|
placeholder | string | Input में दिखाया जाने वाला placeholder text। | None |
defaultCountryCode | string | Pre-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।

Type identifier: number
Properties
| Property | Type | विवरण | Default |
|---|---|---|---|
placeholder | string | Input में दिखाया जाने वाला placeholder text। | None |
min | number | अनुमत minimum value। | None |
max | number | अनुमत maximum value। | None |
Validation
| Rule | विवरण |
|---|---|
min | Number इस value से greater than या equal होना चाहिए। |
max | Number इस value से less than या equal होना चाहिए। |
customMessage | Validation 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 करता है।

Type identifier: url या website
Properties
| Property | Type | विवरण | Default |
|---|---|---|---|
placeholder | string | Input में दिखाया जाने वाला 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 करता है।

Type identifier: contact_info
Properties
| Property | Type | विवरण | Default |
|---|---|---|---|
defaultCountryCode | string | Phone number sub-field के लिए default country code। | None |
fields | FormQuestion[] | Optional custom sub-field definitions। Provide होने पर, ये default name/email/phone fields को override करते हैं। | Default sub-fields |
Sub-Fields
Contact Info question में default रूप से तीन sub-fields शामिल हैं:
- Name -- एक short text field।
- Email -- Format validation के साथ email field।
- 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 होती हैं:
{
"name": "John Smith",
"email": "john@example.com",
"phone": "+1 555-0123"
}
Address
Optional Google Places autocomplete के साथ पूर्ण mailing address field।

Type identifier: address
Properties
| Property | Type | विवरण | Default |
|---|---|---|---|
enableAddressAutocomplete | boolean | Respondents को अपना address जल्दी भरने में मदद करने के लिए Google Places autocomplete enable करें। | Disabled |
fields | FormQuestion[] | Optional custom sub-field definitions। Provide होने पर, ये default address fields को override करते हैं। | Default sub-fields |
Sub-Fields
Address question में निम्नलिखित sub-fields शामिल हैं:
- Street Address -- Street address line।
- City -- City या locality।
- State/Province -- State, province, या region।
- Postal/ZIP Code -- Postal या ZIP code।
- 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 होती हैं:
{
"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 देखें।