Copy link to clipboard
Copied
Hello,
I'm trying to find a script or something to bring inputted data from a text box into the title section of meta data.
Example: Currently my title meta data needs to read " 'Name', 'City', and 'State' " with all those entries being what the user inputted in the 'Name' 'City' and 'State' text boxes. Is a script that will take the 'Name' and input it in title meta data, followed by 'City' and the followed by 'State'?
Thanks!
You can use something like this:
this.info.Title = this.getField("Name").valueAsString + ", " + this.getField("City").valueAsString + ", " + this.getField("State").valueAsString;
Copy link to clipboard
Copied
You can use something like this:
this.info.Title = this.getField("Name").valueAsString + ", " + this.getField("City").valueAsString + ", " + this.getField("State").valueAsString;
Copy link to clipboard
Copied
Where would I place this script? I've never input scripts into acrobat before.
Copy link to clipboard
Copied
That depends on what you want to trigger it...
Copy link to clipboard
Copied
Thanks! I found a way to make the script work, it works perfectly.