{
"version": "6.0",
"screens": [
{
"id": "LEAD_FORM",
"title": "Tell Us About You",
"layout": {
"type": "SingleColumnLayout",
"children": [
{ "type": "TextHeading", "text": "Let's Get Started" },
{
"type": "TextBody",
"text": "Tell us about your business and we'll show you how we can help."
},
{
"type": "TextInput",
"name": "contact_name",
"label": "Your Name",
"required": true,
"input-type": "text"
},
{
"type": "TextInput",
"name": "business_name",
"label": "Business Name",
"required": true,
"input-type": "text"
},
{
"type": "TextInput",
"name": "email",
"label": "Email Address",
"required": true,
"input-type": "email"
},
{
"type": "TextInput",
"name": "phone",
"label": "Phone Number",
"required": false,
"input-type": "phone"
},
{
"type": "Dropdown",
"name": "interest",
"label": "What are you interested in?",
"required": true,
"data-source": [
{ "id": "product_demo", "title": "Product Demo" },
{ "id": "pricing", "title": "Pricing Information" },
{ "id": "partnership", "title": "Partnership" },
{ "id": "support", "title": "Technical Support" },
{ "id": "other", "title": "Other" }
]
},
{
"type": "Dropdown",
"name": "budget",
"label": "Budget Range",
"required": false,
"data-source": [
{ "id": "under_5k", "title": "Under R5,000" },
{ "id": "5k_20k", "title": "R5,000 - R20,000" },
{ "id": "20k_50k", "title": "R20,000 - R50,000" },
{ "id": "50k_plus", "title": "R50,000+" },
{ "id": "not_sure", "title": "Not sure yet" }
]
},
{
"type": "TextArea",
"name": "details",
"label": "Tell us more",
"required": false
},
{
"type": "Footer",
"label": "Submit",
"on-click-action": {
"name": "complete",
"payload": {
"contact_name": "${form.contact_name}",
"business_name": "${form.business_name}",
"email": "${form.email}",
"phone": "${form.phone}",
"interest": "${form.interest}",
"budget": "${form.budget}",
"details": "${form.details}"
}
}
}
]
},
"terminal": true,
"success": true,
"data": {}
}
]
}