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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / two variable on visibl...
Power Apps
Unanswered

two variable on visible for a button how??

(0) ShareShare
ReportReport
Posted on by 1,994

Hi

 

I have a gallery and when user click on the record it will display the form which is set at variable - varshowform

bbsin_0-1620709204409.png

 

I have a button for patch which I need to set to show the form and the button or hide.  - varLetEidt when it's click on the edit to show the button and the form

How to hide and show the patch icon only when the pen edit is click?

 

I put in Pen ICon - Set(varFormMode,FormMode.Edit); UpdateContext( { PenEdit: true })1.png

 

Patch  button - visible - varshowform & varLetEdit

 

Thanks.

??

 

 

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,923 on at

    Is the variable to show the Button or the form or both. 

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • bbsin Profile Picture
    1,994 on at

    hi @eka24 

     

    yes that's right.

     

    Thanks

  • bbsin Profile Picture
    1,994 on at

     

     

    varSHOWFORm is to show the FORM 

    PenEdit is  the pen icon  -  Set(varFormMode,FormMode.Edit); UpdateContext( { PenEdit: true })

     

    Patch button -

  • bbsin Profile Picture
    1,994 on at

    Can I put 

    If((!IsBlank(DataCard2), !IsBlank(DataCardValue22)), DisplayMode.Edit,DisplayMode.Disabled) for the Patch button

     

    I want to only show when the date and description is selected for change and update

    bbsin_1-1620726241950.png

    Can I check with you if you know the syntax to patch these two fields?  I need to update the changes in SP List.  Thanks

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard