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.
Solved! Go to Solution.
Hi @xnat
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)
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!
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.
Hi @xnat
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)
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!
Good, the value is save to 100 but the toggle does not save as "on".
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.
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 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.
User | Count |
---|---|
126 | |
87 | |
85 | |
75 | |
69 |
User | Count |
---|---|
215 | |
180 | |
139 | |
99 | |
83 |