web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Answered

button

(0) ShareShare
ReportReport
Posted on by 12

Hi,

I would like thanks to a button to be able to make appear or not datacards of a form. Create 2 buttons to use them as tabs that would appear or not the fields of the form.However I can't manage the "Visible" field or any other control fields (like the value of toggle) with these. Could you inform me if there is a function I don't know?

Thank you for your reply

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @ClemParpa,

     

    Could you please share a bit more about your scenario?

    Do you want to manage the value of the Visible property of a control using a Button control?

     

    If you want to manage the value of the Visible property of a control using a Button control, please take a try with the following workaround:6.JPG

    I add a Button control and a Label control within my PowerApps app's screen. The OnSelect property of the Button control set to following formula:

    UpdateContext({LabelValue:!LabelValue})

     

    The Visible property of the Label control set to following formula:

    LabelValue

    The Text property of the Label control set to following formula:

    "Flow Test"

     

    For managing the value of Toggle control, the OnSelect property of the Button control set to following formula:

    UpdateContext({ToggleValue:!ToggleValue})

    The Default property of the Toggle control set to following formula:

    ToggleValue

    7.JPG

     

    More details about UpdateContext function, please check the following article:

    UpdateContext function

     

    Best regards,

    Kris 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 339 Super User 2025 Season 2

#1
trice602 Profile Picture

trice602 339 Super User 2025 Season 2

#3
David_MA Profile Picture

David_MA 270 Super User 2025 Season 2

Last 30 days Overall leaderboard