Notifications
Announcements
Hi Team.
I am building an App in power apps, and I want to control the type of currency with a CheckBox.
the condition is: if the value of the CheckBox is true the TextInput must show its content in Euros, if the value of the checkbox is false the Textinput must be in Pesos.
Could you help me?
Hello @jaimeMtz07
I hope I can help you!
In the Oncheck of the checkboxSet(value;TextInput1.Text/18,28)
In the OnUNcheck of the checkboxSet(value;TextInput1.Text*18,28)
and then in the text box you only show the value of the variable
If I have answered your question, please mark your post as Solved.If you like my response, please give it a Thumbs Up.
Thanks for your quick answer........
in reality , I want to do is that the user puts a number in the TextInput and €45,000.00 is displayed when the CheckBox is true, if the CheckBox is False, $45,000.00 should be displayed. I do not want a conversion, only that the correct value is displayed: the user will leave 45000 in the TextInput but it should be displayed: €45,000.00 or $45,000.00 depending on the value of the CheckBox
The system is the same
Oncheck=> Set(_varnum;Concatenate("$";Mid(TextInput1.Text;2;Len(TextInput1))))
OnUncheck=> Set(_varnum;Concatenate("€";Mid(TextInput1.Text;2;Len(TextInput1))))
default TextImput1=> _varnum
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 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268