cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Adaptive Cards: Show Submit-Button, when Toggle is activated

Hello community!

 

I created an adoptive card with response option that is posted in my Teams Channel. The Card has a submit-Button that shall be available only when a Toggle in the card has been activated before. It seems that this is a standard functionality, at least there is a corresponding field in the Adoptive Card Creator. But I have no idea to insert the right format of the expression. Can you help, what I have to fill in the field "only show when"? See the screenshot attached:

 

ScreenshotScreenshot

 

Thanks for any help

Lukas

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Adaptive Cards: Show Submit-Button, when Toggle is activated

Hi @lukasbarthelmes,

 

You could consider using the conditional layout and ToggleVisibility:

https://docs.microsoft.com/en-us/adaptive-cards/templating/language#conditional-layout

 

https://docs.microsoft.com/en-us/outlook/actionable-messages/adaptive-card#actiontogglevisibility-ex...

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (13,827)