I know this is probably a noob question but I need help.
I am trying to push data to a pdf file through the command line, which works but since the restricted characters (ampersand (&) and spaces) I want to manipulate once passed to the form. Right now I have spaces as Underscores and ampersands as plus signs. My code is something like this
case 'G':
var firstname = this.getField("firstname");
firstname.value=fields.substring(2,fields .length);
break;
I would like to replace the + and _ characters within this string before it prints on the pdf form.
TIA
I am trying to push data to a pdf file through the command line, which works but since the restricted characters (ampersand (&) and spaces) I want to manipulate once passed to the form. Right now I have spaces as Underscores and ampersands as plus signs. My code is something like this
case 'G':
var firstname = this.getField("firstname");
firstname.value=fields.substring(2,fields .length);
break;
I would like to replace the + and _ characters within this string before it prints on the pdf form.
TIA