Skip to main content
All CollectionsUsing the Alleo ApplicationAdaptive Cards
How can I store data in an Adaptive Card?
How can I store data in an Adaptive Card?

Here is an example of form data stored in an Adaptive Card.

J
Written by Jim Gilchrist
Updated over 2 years ago

Simple Form Data stored in a card

  1. Use an Input.Text field to allow text to be entered into the card.

  2. Bind the Placeholder property of the input field to ${$root.text} so that the value will always be displayed.

  3. Add an ActionSet with a SubmitFormData action to save the form as shown above.

  4. Set storeData = true.

  5. Set clearForm = false.

  6. Set the SampleData json format as shown above (don’t use the “data” object that we used in previous samples).

Did this answer your question?