Hi all,
I wish to create logic for an input widget that contains purchase amounts that converts numerical value abbreviation into numerical values.
When an user introduces an amount like this "1m "or "1M" I want it to convert to "1000000"
Hi Eli,
Welcome to the OutSystems community.
I believe you can implement this by adding an on change action of your input, where you can define the logic check what value is entered by user and based on that you can define your rules and convert the values.
Hope this helps.
Thanks,
Manish Jawla
You can do this one way the way I see it. You need to create an action that has some logic, like when you have "m" you add 3 "000" or when you have "M" you ad 6 "000000". This is the best option in my option as it is also scalable.
I do think it was also what Manish was referring above.
Hope this makes it clear.
Best regards,
Lourenco Matalonga