FAQ
A display-only accordion field for frequently asked questions with expandable question-and-answer pairs.
The FAQ field renders a list of question-and-answer pairs in an accordion layout. It does not collect user input. Each question expands on click to reveal its answer. Use it to address common concerns, provide help content, or reduce support requests within your form flow.
Configuration
| Property | Type | Default | Description |
|---|---|---|---|
| label | string | -- | Heading text displayed above the FAQ section |
| width | LayoutWidth | "full" | Horizontal space the field occupies |
| items | FAQItem[] | -- | Array of question-and-answer objects |
FAQItem Object
Each item in the items array has the following properties:
| Property | Type | Description |
|---|---|---|
| q | string | The question text |
| a | string | The answer text |
Example Usage
A support FAQ section within a registration form:
{
"type": "faq",
"label": "Frequently Asked Questions",
"items": [
{
"q": "Can I cancel at any time?",
"a": "Yes, you can cancel your subscription at any time from your account settings. No cancellation fees apply."
},
{
"q": "Is there a free trial?",
"a": "All plans include a 14-day free trial. No credit card required to start."
},
{
"q": "How do I contact support?",
"a": "Email us at [email protected] or use the chat widget in the bottom-right corner."
}
]
}