make "," a "safe character" in javascript code as a part of the saveas() function
i have a script that with batch forms merges using excel data and i want to save them as [last name], [first name].
it's important because 1. i have a lot of people with the same last name 2. some of the last names have two names and some of the first names have two names so it's not obvious which is the last name and 3. it's ridiculous that other characters like underscores, hyphens and semi-colons are safe, but commas aren't
this.saveAs(outputDir + "1150 " + this.getField("Last Name").value + " , " + this.getField("First Name").value + ".pdf");
Hi,
We released an update for Adobe Acrobat DC that fixes this concern. This update will be automatically applied to all Acrobat and Reader users in the coming days. You may also update to the latest release by opening the application and going to Help > Check for Updates.
You can also drop an Email to me at ajain@adobe.com to let me know further in this. Thanks.
-Ayush Jain
-
Hi,
We have captured this concern at the engineering level and we might consider this for our future release.
Thanks
Ayush