I am creating a flow which posts an adaptive card to a Teams Chat.
The flow has 2 action.submit buttons (Approve & Reject) and one input.text field.
Is it possible that when a user clicks the Reject button it makes the input.text required, but when approve button is clicked input.text is optional?
I know about "isRequired": true.
I have two buttons, Submit and Cancel.
If the user clicks Cancel, I want to exit the adaptive card and not display messages such as 'this field is required'.
However if the user clicks Submit I want required fields to be entered before futher processing.
Can you be more specific on what you need exactly. In fact if you need a text input that must be required to complete, let me show you this :
Were you able to figure out how to implement this? I am in the same situation where depending on the user's intent(specific button clicked), different fields are required or optional.
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492