Hi i have created an adaptive card in PVA . On clicking submit button, it should hide that button.
How to do that?
Here is the code for my adaptive card:
Announcements
Hi i have created an adaptive card in PVA . On clicking submit button, it should hide that button.
How to do that?
Here is the code for my adaptive card:
Nope, I just learned how to make an adaptive card last week so still in the beginner phase haha. I feel like I've seen the cards changing when the button is clicked in other applications (like Teams?), am I imagining that? Not sure how the usage in chatbots differs.
@cpayton
That's true, Have you got any ideas how we can do that? Like a good user experience!
Just wanted to add that I agree, I would also like to hide it to provide a decent user experience. It's awkward to have it not behave like a normal form.
@fernandosilva Well, let me explain you. I have a adaptive card of feedback box with submit and ignore button.
For submit, i can tell the user, that your feedback has been recorded.
But i cannot tell the user your feedback has been ignored for ignore button click.
So in that case i want to hide the Adaptive Card.
Hi @Jupyter123 ,
Can't see your point in hiding the AC if the user can't use it twice in a row.
Cheers,
Fernando
@fernandosilva Hey, But i think hiding it completely would be a better option.
Hi @Jupyter123 ,
In this case I would suggest to include a message after the adaptive card. It could be something saying that the message have been sent and after that include the "End of conversation" topic. The user won't be allowed to use the same form again unless going through all the process of triggering it.
Cheers,
Fernando
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.