{
"type": "AdaptiveCard",
"version": "1.2",
"body": [
{
"type": "TextBlock",
"text": "Please add the title and description to start submitting the idea. If you wish to add more details, click the '+' option.",
"wrap": true
},
{
"type": "Input.Text",
"label": "Idea Title",
"id": "IdeaTitle",
"isRequired": true,
"errorMessage": "Idea Title is required",
"placeholder": "Enter your idea title"
},
{
"type": "Input.Text",
"label": "Idea description/Problem Statement",
"style": "text",
"isMultiline": true,
"id": "Ideades",
"isRequired": true,
"errorMessage": "Idea description/Problem Statement is required",
"placeholder": "Enter Idea description/Problem Statement"
} ,
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "Click \"+\" to show more and if you like to submit without adding more detail, please click the Skip And Submit option.",
"wrap": true
},
{
"type": "ActionSet",
"actions": [
{
"type": "Action.ToggleVisibility",
"title": "+",
"targetElements": ["valueButton", "benefitsButton", "relevanceButton", "minusButton"]
},
{
"type": "Action.Submit",
"title": "Skip And Submit",
"data": {
"id": "skipandsubmit"
}
}
]
},
{
"type": "ActionSet",
"id": "valueButton",
"isVisible": false,
"actions": [
{
"type": "Action.Submit",
"title": "Value",
"data": {
"id": "value"
}
}
]
},
{
"type": "ActionSet",
"id": "benefitsButton",
"isVisible": false,
"actions": [
{
"type": "Action.Submit",
"title": "Benefits",
"data": {
"id": "benefits"
}
}
]
},
{
"type": "ActionSet",
"id": "relevanceButton",
"isVisible": false,
"actions": [
{
"type": "Action.Submit",
"title": "Relevance",
"data": {
"id": "relevance"
}
}
]
}
]
}
]
}