NueForm

Choice Question Types

Multiple Choice, Dropdown, Yes/No, Ranking, Matrix, और List question types का documentation।

Multiple Choice

Respondent को चुनने के लिए options की list present करें। Single-select, multi-select, "Other" free-text, randomization, और alphabetical ordering support करता है। प्रत्येक choice अपनी खुद की image, video या icon रख सकती है, और layout property vertical list और image-card grid के बीच switch करती है — इसलिए यह एक ही type plain text options और picture-based options दोनों को cover करता है।

Multiple Choice Question
A multiple choice question with several options.

Type identifier: multiple_choice

Properties

PropertyTypeविवरणDefault
choicesChoice[]Choice options का array। प्रत्येक choice में id, label, और optional media है।[]
layoutstringChoices किस तरह present होती हैं: stacked (vertical list, optional thumbnails), blocks (image-card grid), staggered (content के size की chips जो wrap होती हैं), या grid (fixed-column grid)।stacked
allowMultiplebooleanRespondent को एक से अधिक option select करने की अनुमति दें।false
allowOtherbooleanFree-text input के साथ "Other" option दिखाएं जहां respondent custom answer type कर सकता है।false
randomizebooleanहर बार question display होने पर choices का order randomize करें।false
alphabeticalOrderbooleanChoices को alphabetically sort करें। यदि randomize enabled है तो ignore होता है (randomize precedence लेता है)।false

Choice Object

choices array में प्रत्येक choice में:

FieldTypeविवरण
idstringइस choice के लिए unique identifier। Logic jumps और scoring में उपयोग होता है।
labelstringChoice के लिए display text।
mediaQuestionMediaइस choice के लिए optional image, video या icon। यह कैसे render होती है इसे control करने के लिए media.display set करें — नीचे देखें।

Choice Media

कोई भी choice अपनी खुद की media रख सकती है। media.display तय करता है कि वह choice पर कैसे बैठती है:

Displayविवरण
thumbnailChoice label के बगल में एक छोटी image।
backgroundImage choice surface को भर देती है, fill करने के लिए crop होकर।
background-fitImage choice surface को भरती है लेकिन पूरी बनी रहती है, choice के background colour के सामने letterbox होकर।

Choice media वही treatments support करती है जो question media करती है — filters, tint, borders, focal point और zoom। Fill और Fit में क्या अंतर है और किसे कब चुनें, इसके लिए Choice Media Display देखें।

Choice media वही है जो पहले का Picture Choice question type बन गया। एक image-card grid बनाने के लिए, Multiple Choice को layout: "blocks" के साथ उपयोग करें और प्रत्येक choice को एक media object दें। Typeform से import किए गए forms picture_choice questions को अपने आप इसी shape में convert कर देते हैं।

Validation

यदि required true है, respondent को आगे बढ़ने से पहले कम से कम एक option select करना होगा।

Logic Jump Operators

equals, not_equals, is_answered, is_not_answered

equals या not_equals उपयोग करते समय, comparison value choice ID होता है। Multi-select questions के लिए, equals check करता है कि value selected items में है या नहीं।

Answer Format

  • Single select (allowMultiple: false): एक string (selected choice ID)।
  • Multi-select (allowMultiple: true): एक array of strings (selected choice IDs)।

Quiz Mode Scoring

Multiple Choice सभी quiz modes में एक scorable question type है:

  • Knowledge Quiz: correctAnswers (correct choice IDs का array) और correctAnswerScore (प्रति correct answer points) set करें।
  • Lead Qualification: choiceScores (choice ID से point value की mapping) set करें।
  • Match Quiz: choiceOutcomes (choice ID से end screen question IDs की mapping) set करें।

Choice selection के लिए keyboard shortcuts उपलब्ध हैं। Respondents options select करने के लिए letter keys (A, B, C, आदि) press कर सकते हैं, जो प्रत्येक choice के बगल में indicators के रूप में दिखाई देते हैं।


Options की list से select करने के लिए dropdown menu। Multiple Choice के समान configuration support करता है लेकिन options compact dropdown format में display करता है। Per-choice media और layout यहां लागू नहीं होते — dropdown हमेशा अपने options plain text के रूप में render करता है।

Dropdown Question
A dropdown selector question.

Type identifier: dropdown

Properties

PropertyTypeविवरणDefault
choicesChoice[]Choice options का array।[]
allowMultiplebooleanDropdown से multiple options select करने की अनुमति दें।false
allowOtherbooleanFree-text input के साथ "Other" option दिखाएं।false
placeholderstringSelection से पहले दिखाया जाने वाला placeholder text।None
randomizebooleanChoices का order randomize करें।false
alphabeticalOrderbooleanChoices को alphabetically sort करें।false

Validation

यदि required true है, respondent को कम से कम एक option select करना होगा।

Logic Jump Operators

equals, not_equals, is_answered, is_not_answered

Answer Format

  • Single select: एक string (selected choice ID)।
  • Multi-select: एक array of strings (selected choice IDs)।

Quiz Mode Scoring

Dropdown एक scorable question type है। Scoring configuration Multiple Choice के identical है।


Picture Choice

Picture Choice अब कोई अलग question type नहीं रहा। इसे Multiple Choice में merge कर दिया गया है — select करने के लिए अब कोई picture_choice identifier नहीं है।

वही चीज़ बनाने के लिए, एक Multiple Choice question उपयोग करें जिसमें layout को blocks पर set किया गया हो और प्रत्येक choice पर एक media object हो। Picture Choice जो कुछ करता था वह सब अब भी उपलब्ध है, साथ ही वे treatments भी जो उसमें कभी नहीं थे: video और icon choices, filters, tint, focal point, zoom, और एक Fit mode जो चौड़ी images को crop करने के बजाय पूरी दिखाता है।

Image-card choices
Multiple Choice with layout: blocks — the image-card grid that replaced Picture Choice.
json
{
  "type": "multiple_choice",
  "properties": {
    "layout": "blocks",
    "choices": [
      { "id": "c1", "label": "Mountains", "media": { "type": "image", "url": "https://…", "display": "background" } },
      { "id": "c2", "label": "Coast", "media": { "type": "image", "url": "https://…", "display": "background" } }
    ]
  }
}

मौजूदा forms और Typeform imports आपके लिए संभाल लिए जाते हैं — एक picture_choice question अपने आप layout: "blocks" वाले Multiple Choice में convert हो जाता है, इसलिए कुछ भी दोबारा author करने की ज़रूरत नहीं।


Yes / No

एक simple binary question जो "Yes" और "No" buttons present करता है।

Yes/No Question
A yes/no binary choice question.

Type identifier: yes_no

Properties

Yes/No question type में common question properties के अलावा कोई अतिरिक्त properties नहीं हैं।

Validation

यदि required true है, respondent को "Yes" या "No" में से एक click करना होगा।

Logic Jump Operators

equals, not_equals, is_answered, is_not_answered

equals उपयोग करते समय, true (Yes) या false (No) से compare करें। String values "true" और "false" भी accept होते हैं।

Answer Format

Answer एक boolean (true Yes के लिए, false No के लिए, या unanswered होने पर null) के रूप में store होता है।

Quiz Mode Scoring

Yes/No एक scorable question type है:

  • Knowledge Quiz: correctAnswers को "true" या "false" की single value के साथ set करें।
  • Lead Qualification: choiceScores को "true" और "false" keys के साथ set करें।
  • Match Quiz: choiceOutcomes को "true" और "false" keys के साथ set करें।

Yes/No question selection करने पर तुरंत अगले question पर auto-advance करता है। कोई अलग "OK" button नहीं है।


Ranking

Respondent को drag and drop करके preferred order में arrange करने के लिए items की list present करें।

Ranking Question
A drag-to-rank question where respondents reorder items.

Type identifier: ranking

Properties

PropertyTypeविवरणDefault
choicesChoice[]Rank करने के लिए items का array। प्रत्येक में id और label है।[]

Validation

यदि required true है, respondent को ranking submit करनी होगी (सभी items defined order में होने चाहिए)।

Logic Jump Operators

equals, not_equals, is_answered, is_not_answered

Answer Format

Answer एक array of strings (respondent के ranked order में choice IDs, first से last तक) के रूप में store होता है।

json
["choice_3", "choice_1", "choice_2"]

Ranking field drag-and-drop interaction उपयोग करता है। Mobile devices पर, respondents items reorder करने के लिए touch gestures उपयोग कर सकते हैं।


Matrix

एक grid-based question type जहां respondents multiple items (rows) को multiple categories (columns) में rate करते हैं। प्रत्येक row-column intersection एक selectable option है।

Matrix Question
A matrix grid question with rows and columns.

Type identifier: matrix

Properties

PropertyTypeविवरणDefault
rowsstring[]Row labels का array (rate किए जा रहे items)।[]
columnsstring[]Column labels का array (rating categories)।[]
randomizeRowsbooleanRows का order randomize करें।false
randomizeColumnsbooleanColumns का order randomize करें।false

Validation

यदि required true है, respondent को प्रति row एक option select करना होगा।

Logic Jump Operators

equals, not_equals, is_answered, is_not_answered

Answer Format

Answer एक object (Record<string, string>) के रूप में store होता है जो प्रत्येक row label को selected column label से map करता है:

json
{
  "Product Quality": "Excellent",
  "Customer Service": "Good",
  "Value for Money": "Average"
}

Matrix questions desktop पर responsive grid के रूप में display होते हैं और बेहतर usability के लिए mobile devices पर stacked format में adapt होते हैं। Rows और columns दोनों independent randomization support करते हैं।

List

एक ही प्रकार की multiple entries collect करें। एक List या तो plain टेक्स्ट आइटम (type करें और Enter दबाएं, या जोड़ें tap करें) या repeating कंपोज़िट आइटम रखती है — किसी पुन: उपयोग योग्य कंपोज़िट से बनी structured entries, जैसे एक ही प्रश्न में कितने भी board members add करना।

Type identifier: list

Properties

PropertyTypeविवरणDefault
itemTypestringplain text items के लिए string, repeatable composite instances के लिए compositestring
compositeIdstringreference किया गया कंपोज़िट (केवल composite items)। picker के माध्यम से set होता है।
itemPlaceholderstringentry input के लिए placeholder text (text items)।
addButtonLabelstringदोनों item modes में Add button के लिए custom label।
minItemsnumbersubmit करने के लिए आवश्यक items की minimum संख्या।
maxItemsnumberitems की maximum संख्या। Hard cap 100।100
itemRegexstringPer-item validation pattern (text items)।
itemRegexErrorstringpattern fail होने पर दिखाया जाने वाला error message।
itemMinLengthnumberप्रति item minimum अक्षर (text items)।
itemMaxLengthnumberप्रति item maximum अक्षर (text items)।
allowDuplicatesbooleanवही text item दो बार add करने की अनुमति दें (text items)।true
allowReorderbooleanRespondents को reorder करने के लिए items drag करने दें (text items)।true
defaultItemsstring[]प्रश्न पहली बार load होने पर pre-filled items (text items, web forms)।[]
displayModestringएक collapsed composite entry कैसे render होती है: compact (एक-पंक्ति summary) या card (हर field label + value)।compact
compactFieldsstring[]compact collapsed summary में दिखाए जाने वाले ordered sub-field IDs। डिफ़ॉल्ट रूप से कंपोज़िट का पहला field।

Validation

यदि required true है, कम से कम एक item add होना चाहिए। minItems / maxItems submit पर लागू होते हैं; per-item pattern और length rules (text items) हर item add होते समय लागू होते हैं।

Logic Jump Operators

list_count_equals, list_count_greater_than, list_count_less_than, contains, not_contains, is_answered, is_not_answered

Count operators answer में items की संख्या से compare करते हैं।

Answer Format

  • Text items: एक array of strings
  • Composite items: एक array of objects, प्रत्येक sub-field ID द्वारा keyed:
json
[
  { "sub_first_name": "Ada", "sub_email": "ada@example.com" },
  { "sub_first_name": "Grace", "sub_email": "grace@example.com" }
]

प्रत्येक composite item एक standalone कंपोज़िट प्रविष्टि के रूप में भी record किया जाता है — cross-form प्रविष्टियाँ view और collapsed display modes के लिए कंपोज़िट guide देखें।

अंतिम अपडेट: 24 अगस्त 2026