Copy link to clipboard
Copied
I need a form field for typing in numbers (prices) to show the number with ".-" in the end if no decimals are entered. Fx. if "200" is typed is should be displayed like "200.-"
And if the number is typed with decimals it should not do anything. Fx. if someone types in "199.95" it will be displayed likewhise.
Also I need the seperationstyle to be displayed like "." even though someone types in a ",".
I hope it makes sense.
Copy link to clipboard
Copied
That will require custom JavaScript for the keystroke, format and validation. It will also make the field a text non-numeric field so if you are doing any calculations you will need to convert the number back into a numeric value.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now