Announcements
Hi All,
I want to disable a form based on a button selection. So far, when the button is selected a form the is view only changes to edit, but when this form is in edit I want the other forms to change to disabled. How do I achieve this?
Form 1 = View
Form 2 = Edit
Form 3 = Edit
Button = EditForm(Form1)
Form 1 = Edit
Form 2 = Disabled
Form 3 = Disabled
I also want another button to appear as well if Form 1 is in Edit
Hi @carrie-anne27 ,
Here is a method for your reference.
Take the button which change Form1's mode to Edit as an example. You can use below formula on OnSelect of button.
EditForm(Form1); ViewForm(Form2); ViewForm(Form3)
Best regards,
Rimmon
The only modes available for a Form are View, Edit and New. When you press the button, you can do this
If you want another button to be visible when Form1 is in Edit Mode, put this on the Visible
Form1.Mode = FormMode.Edit
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 345 Most Valuable Professional
11manish 207 Super User 2026 Season 2
Mohsin Ali 177