Hi Monkeyman,
Below is my adaptive card and if you place it on here: https://adaptivecards.io/designer/, you will see how it works, but I believe the values of the variables inside the "actions" must have a different path on turn.activity.value.XXX as simply calling the user.XXX, the value is not passing through. If I take all the actions out and place all the form in a single structure, it goes fine.
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.2",
"body": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "My details",
"horizontalAlignment": "Center",
"wrap": true,
"style": "heading"
},
{
"type": "Input.Text",
"label": "Card number",
"id": "CardNumber",
"isRequired": true,
"errorMessage": "Card Number is required"
},
{
"type": "Input.Text",
"label": "First name",
"id": "FirstName",
"isRequired": true,
"errorMessage": "Full Name is required"
},
{
"type": "Input.Text",
"label": "Last name",
"id": "LastName",
"isRequired": true,
"errorMessage": "last Name is required"
},
{
"type": "Input.Text",
"label": "Email address",
"style": "Email",
"id": "Email",
"isRequired": true,
"errorMessage": "Email is required"
}
],
"actions": [
{
"type": "Action.ShowCard",
"title": "About Your Phone",
"card": {
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"body": [
{
"type": "Container",
"id": "aboutyourphone",
"items": [
{
"type": "Input.Text",
"label": "Phone Number",
"style": "Tel",
"id": "PhoneNumber",
"isRequired": true,
"errorMessage": "Phone number is required"
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "Apple",
"value": "Apple"
},
{
"title": "Samsung",
"value": "Samsung"
}
],
"placeholder": "Placeholder text",
"label": "Phone maker",
"style": "expanded"
},
{
"type": "Input.Text",
"label": "What's your phone maker? (E.g. Apple, Samsung, LG)",
"id": "PhoneMaker",
"isRequired": true,
"errorMessage": "Phone maker is required"
},
{
"type": "Input.Text",
"label": "What's your phone model? (E.g. S20, Pro , Mini)",
"id": "PhoneModel",
"isRequired": true,
"errorMessage": "Phone Model is required"
},
{
"type": "Input.Text",
"label": "What's your phone memory capacity? (E.g. 128Gb, 256Gb, 1Tb)",
"id": "MemoryCapacity",
"isRequired": true,
"errorMessage": "Memory capacity is required"
}
]
}
],
"actions": [
{
"type": "Action.ShowCard",
"title": "More Details",
"card": {
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"body": [
{
"type": "Container",
"id": "moredetails",
"items": [
{
"type": "Input.Date",
"label": "Purchase Date",
"id": "PuchaseDate",
"value": "2022-22-22",
"style": "text",
"isRequired": true,
"errorMessage": "Purchase date is required"
},
{
"type": "Input.Text",
"label": "Where did you purchase your device?",
"id": "PurchasePlace",
"isRequired": true,
"errorMessage": "Purchase place is required"
},
{
"type": "Input.Text",
"label": "What's your device IMEI number? (Press *#06# on your phone keyboard to find out)",
"id": "ImeiNumber",
"isRequired": true,
"errorMessage": "IMEI number is required"
},
{
"type": "Input.Text",
"label": "Write your message here (optional)",
"isMultiline": true,
"id": "Comments"
}
]
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Submit",
"data": {
"id": "123456789011121314"
}
}
]
}
}
]
}
}
]
}