cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
msuser48
Helper I
Helper I

Switch between View and Edit DisplayMode when check box is ticked

I want a text input box to be editable for the user, when the user ticks the "custom" check box:

msuser48_0-1660063770313.png

It correctly shows the above value, 0,00901, when unticked.

 

When ticked, it just says "text" in the box, and the user cannot edit anything:

msuser48_1-1660063873007.png

 

I tried formatting the text input box as number, which leaves the text box blank, but the user still cannot edit in the box.

 

How to achieve this?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
rubin_boer
Super User
Super User

hi @msuser48 try this in the TextInput's DisplayMode = If(yourCheckBox.Value, DisplayMode.Edit,DisplayMode.View)

hey there if you liked the post give it a thumbs up, and if it solved your question please accept it as a solution.

View solution in original post

1 REPLY 1
rubin_boer
Super User
Super User

hi @msuser48 try this in the TextInput's DisplayMode = If(yourCheckBox.Value, DisplayMode.Edit,DisplayMode.View)

hey there if you liked the post give it a thumbs up, and if it solved your question please accept it as a solution.

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Solution Authors
Top Kudoed Authors
Users online (4,616)