Copy link to clipboard
Copied
Fillable text field. I need a script for for 5,000 increments. Here is the line of text for the field.
Face Amount $ _________ minimum $ 5,000 to a maximum of $ 30,000 (must be in units of $ 5,000)
User must only be able to enter.... 5,000 or 10,000 or 15,000 or 20,000 etc to 30,000.
I would also need this to work for French, commas to space.
Thank you in advance.
Copy link to clipboard
Copied
The formatting you can set under the Format tab.
For the validation use this script:
if (event.value) event.rc = ((event.value%5000)==0);
Copy link to clipboard
Copied
Hi Try67
Thank you for your quick response, this work great for English. In the French it inserts a comma where we need a space. Are you able to send another script where it inserts a space for the french $ amount?
Thank you very much!
Copy link to clipboard
Copied
You would need to write a custom format script to achieve that.
Copy link to clipboard
Copied
Thanks Try67
Find more inspiration, events, and resources on the new Adobe Community
Explore Now