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 Platform Community / Forums / Power Apps / Button to be enabled w...
Power Apps
Unanswered

Button to be enabled when form is in edit mode

(0) ShareShare
ReportReport
Posted on by

I have a button that I would like it to be enabled for the user to click on only if the form become on edit mode and not on view mode.

 

There is another button that will be clicked by the user to make the form on edit mode and once this icon is selected (this is edit icon that is Onselect edit form) I want the other icon to be enabled for the user to use.

 

I have written below code but not working any advice would be appreciated.

AA53_0-1598012772291.png

Any advice would be appreciated. Thank you in Advance

 

Categories:
I have the same question (0)
  • Verified answer
    SaiKrishnaGudluru Profile Picture
    499 on at

    @Anonymous try this If(Form1.DisplayMode = DisplayMode.Edit,DisplayMode.Edit,Disabled)

  • Community Power Platform Member Profile Picture
    on at

    It does not work 😞

     

    AA53_0-1598014630132.png

    Any advice??

     

  • SaiKrishnaGudluru Profile Picture
    499 on at

    @Anonymous try - validating  the Form Mode. 

  • Community Power Platform Member Profile Picture
    on at

    Thank You,

     

    Could you please elaborate more as I am newbiee in powerapps

     

    Thank you

  • Verified answer
    WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    @Anonymous ,

    @krishnags code needs to be on the DisplayMode of the button, but modified as below

    If(
     Form1.Mode = FormMode.Edit,
     DisplayMode.Edit,
     DisplayMode.Disabled
    )

     

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard