Copy link to clipboard
Copied
Is there a way to print all of the text field names on a mapped form? I have a form that a previous employee created and I need to recreate it on a slightly different updated version, but going through every field and matching to the javascripts and bouncing to my other screen is getting tiresome...if I had a way to print the text field names it would be awesome.
i did use the Use JavaScript tool to pull the All javascript strings, which tells me what named text field it belongs to, but it would be so much easier if i could match that to a printed document that had those text field names on it.
Any help would be appreciated!
Copy link to clipboard
Copied
Try this:
Replace the pages of the form with the pages of the updated document.
Copy link to clipboard
Copied
Would that work if there are some slight differences between the two forms, i.e. the new form has some new fields.
Would replacing the old page with the new still retain the field mappings?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Have you tried it?
Copy link to clipboard
Copied
@Bernd Alheitjust did and all of the mappings came over! You are brilliant. This is definitely a life saver. I would still love to be able to print every text field on a form - visible and hidden. Do you know if there is a way to do that?
Copy link to clipboard
Copied
This will print text field names to console:
var cNames = [];
for ( var i=0; i < this.numFields; i++) {
var fname = this.getNthFieldName(i);
var f = this.getField(fname);
if (f.type == "text")
cNames.push(f.name);}
if(cNames.length !== 0)
console.println(cNames.join("\n"));
else
app.alert("There are no text fields in this file");
Copy link to clipboard
Copied
Thank you @Nesa Nurani !
Copy link to clipboard
Copied
You should try the Form Report plugin, which is part of the free abracadabraTools :
https://www.abracadabrapdf.net/utilitaires/utilities-in-english/abracadabratools_en/
Copy link to clipboard
Copied
You should try the Form Report plugin, which is part of the free abracadabraTools :
https://www.abracadabrapdf.net/utilitaires/utilities-in-english/abracadabratools_en/
By @JR Boulay
JR this is Brilliant!!
Copy link to clipboard
Copied
Thank you Thom Parker, your compliments please me more than those of a God.