Notifications
Announcements
Hi,
I would like to know if it's possible to change a value in a text field depending on a toggle?
Let say I click on the toggle and I want the percentage change from whatever it was, to 100.
Thanks.
Hi @xnat
Can you add the below expression on the Text property of the text label control:
If(Toggle1.Value, 100, ValueToShowWhenNotChecked)
Here, you need to replace ValueToShowWhenNotChecked with the existing expression in the Text property.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
It's a free text field that I want to change to 100 when toggle is on.
That free text field has no text property.
I saw 25 mentioned in the screenshot that you shared earlier so thought that there is some other value. If this is not the case, then you can update the expression to: If(Toggle1.Value, 100)
Good, the value is save to 100 but the toggle does not save as "on".
@xnat
How are you saving the details and where? What is the column type where do you want to store the toggle value? If you can share more details, we might be able to help you better.
It's my error. The toggle was not associated to a column in my sharepoint list.
Everything works now.
Thank you very much.
I really appreciate your help.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268