I have 2 buttons on the adaptive card."submit" button brings me the information I entered on the form.but the "cancel" button does the same.I want the "Cancel" button to redirect to another dialog when pressed. Any idea?
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Submit",
"title": "Submit",
"style": "positive"
},
{
"type": "Action.Submit",
"title": "Cancel",
"associatedInputs": "none",
"id": "cancel",
"style": "destructive"
}
]
}
CodePudding user response:
here the steps
- Assign value in submit and cancel button
- based on the value bot received , check the condition invoke the dialog