Displays legal text that respondents must accept before submitting. Supports a linked label and inline content.
| Field | Type | Description |
|---|---|---|
questionType | "termsandconditions" | Identifies this as a terms field |
termsandconditions.showQuestionTitle | boolean | Show or hide the question title |
termsandconditions.label.beforeLinkedText | string | Text before the link |
termsandconditions.label.linkedText | string | Clickable link text |
termsandconditions.label.afterLinkedText | string | Text after the link |
termsandconditions.content | string | Full terms text shown in a modal |
termsandconditions.url | string | External URL for the terms (empty if using inline content) |
{
"_id": "6a0ef84a3affac35058b0792",
"questionType": "termsandconditions",
"question": "Terms & conditions",
"displayOrder": 9,
"isRequired": true,
"isDeleted": false,
"isActive": true,
"termsandconditions": {
"showQuestionTitle": false,
"label": {
"beforeLinkedText": "I agree to ",
"linkedText": "terms & conditions",
"afterLinkedText": "."
},
"content": "Lorem ipsum dolor sit amet...",
"url": ""
}
}