AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

[How to trigger Javascript functions on Actions?]

Open burhanshah opened this issue 1 year ago • 1 comments

Hi,

I just want to know how we can trigger functions on events like when a user clicks Submit button on Adaptive card? I didn't find any good resources where this is explained.

Basically, I want to hide the Adaptive card entirely or all of it's fields once a user hit submit button. Please can anyone guide on how to implement that?

burhanshah avatar Feb 29 '24 17:02 burhanshah

Hi @burhanshah,

This documentation should be what you are looking for: https://learn.microsoft.com/en-us/adaptive-cards/sdk/rendering-cards/javascript/actions

anna-dingler avatar Jun 24 '24 16:06 anna-dingler