Skip to main content

Multiple Choice Question

idstringrequired

Unique question identifier

Example: QID1
displaystringrequired

Question text/HTML content to display

requiredstring

Question requirement level - 'off', 'force' (required), 'request' (optional)

Possible values: [off, force, request]

Example: force
typestringrequired

Multiple Choice question type

Possible values: [mc]

multiSelectbooleanrequired

Whether multiple selections are allowed

Example: true
choices object[]

Array of choices or choice groups

Possible values: <= 1000

  • Array [
  • oneOf
    idstringrequired

    Unique choice identifier

    Example: 1
    displaystringrequired

    Choice text/HTML to display

    image object

    Image associated with the choice

    namestringrequired

    Image filename

    urlstringrequired

    Image URL

    textPositionstringrequired

    Position of text relative to image

    Possible values: [top, left, right, bottom]

    expandedUrlstring

    URL for expanded/full-size image

    textEntry object

    Text entry field associated with this choice

    contentTypestring

    Expected content type

    Possible values: [number, date, integer]

    requiredboolean

    Whether text entry is required when choice is selected

    Possible values: [true]

    symbol object

    Symbol/prefix for text entry fields

    valuestringrequired

    Symbol to display (e.g., '$', '%')

    Example: $
    positionstringrequired

    Position of symbol relative to input

    Possible values: [before, after]

    exclusiveSelectboolean

    Whether selecting this choice deselects all others

    Possible values: [true]

  • ]
  • Multiple Choice Question
    {
    "id": "QID1",
    "display": "string",
    "required": "force",
    "type": "mc",
    "multiSelect": true,
    "choices": [
    {
    "id": "1",
    "display": "string",
    "image": {
    "name": "string",
    "url": "string",
    "textPosition": "top",
    "expandedUrl": "string"
    },
    "textEntry": {
    "contentType": "number",
    "required": true,
    "symbol": {
    "value": "$",
    "position": "before"
    }
    },
    "exclusiveSelect": true
    },
    {
    "id": "string",
    "groupLabel": "string",
    "choices": [
    {
    "id": "1",
    "display": "string",
    "image": {
    "name": "string",
    "url": "string",
    "textPosition": "top",
    "expandedUrl": "string"
    },
    "textEntry": {
    "contentType": "number",
    "required": true,
    "symbol": {
    "value": "$",
    "position": "before"
    }
    },
    "exclusiveSelect": true
    }
    ]
    }
    ]
    }