Submit
Overview
Submit action type is used for submitting forms. Currently it is supported only for Adaptive cards.Default behavior: submits the form if "sap.card"/configuration/actionHandlers/submit is provided.
Related Information
Examples
Example how to trigger Submit action from Adaptive card
"sap.card": {
"type": "AdaptiveCard",
"header": {
...
},
"content": {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "Input.Text",
"label": "Your Name",
"placeholder": "Last, First",
"style": "text",
"id": "SimpleVal"
},
{
"type": "Input.Text",
"label": "Email address",
"placeholder": "youremail@example.com",
"style": "email",
"id": "EmailVal"
},
{
"type": "Input.Text",
"label": "Phone Number",
"placeholder": "xxx.xxx.xxxx",
"style": "tel",
"id": "TelVal",
"maxLength": 10
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Send to backend"
}
]
}
}
Try it Out