Copy link to clipboard
Copied
Hi all,
Depending on the formatting script the representation of a number is necessary to change.
This means: if the formatting script of the field is "AFNumber_Format \ (2,3,3,0, \" \ "false \)" it should be changed to "AFNumber_Format \ (2,1,1,0, \" \ "false \) ".
Par ex: 1,23 -> 1.23.
Fragment:
var f = this.getField("xyz") ;
if ((f.???? == "AFNumber_Format\(2,3,3,0, \"\", false\)") ) {
f.setAction ("Format", "AFNumber_Format\(2,1,1,0, \"\", false\);");
}
How can I read the contents of the formatting script?
Any ideas?
Not possible to do in Acrobat using a script.
Copy link to clipboard
Copied
Not possible to do in Acrobat using a script.
Copy link to clipboard
Copied
Thank you for your fast response!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now