justinmind-logo
 
Upvote 1

How do I create Currency Form field?

Need Answer Deesparwal 10 months ago

How do I create a form field for entering Currency value? I am not sure how to successfully use the Money constant from the Expression Builder.

Replies (3)
photo
1

Hello, thanks for your question, could you confirm if what you need is a field in a form that checks if the content is currency?


Regards.

photo
1

I wanted to know if it is possible to design interaction, where a user is adding numbers and when focus out, last two digits go in decimal and 'coma' comes after first three digits from decimal from right.

photo
1

Hello, in this case, you could use the event "on fucus out" + "set value to an element" with calculated value and in the expression builder, the "substring" function to separate the output, and then use the "concat" function to insert the commas and periods. I attach an image of an example in which you can separate a 4-digit number with a comma.

Let me know how it went.

Regards.

Leave a Comment
 
Attach a file