Skip to main content

Notifications

Power Apps - Building 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.

??

 

 

  • bbsin Profile Picture
    bbsin 1,994 on at
    Re: two variable on visible for a button how??

    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

     

     

  • bbsin Profile Picture
    bbsin 1,994 on at
    Re: two variable on visible for a button how??

     

     

    varSHOWFORm is to show the FORM 

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

     

    Patch button -

  • bbsin Profile Picture
    bbsin 1,994 on at
    Re: two variable on visible for a button how??

    hi @eka24 

     

    yes that's right.

     

    Thanks

  • eka24 Profile Picture
    eka24 20,921 on at
    Re: two variable on visible for a button how??

    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.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard