JavaScript Code: // get the number of fields in this PDF var nNumFields = this.numFields; // a variable for the field name being processed var cFieldName; // loop through all of the fields in the PDF for(i = 0; i < nNumFields; i++) { // get the field name for the ith field cFieldName = this.getNthFieldName(i); // set the userName to a null string this.getField(cFieldName).userName = ""; } // end for loop
Can you do a video on creating custom popup tooltips, for segments of specific / selected text (with hover over effect), within a PDF, and controlling where the tooltip pops up (i.e., relative to trigger field / button location), using Adobe Acrobat Pro ? ?
When I run the javascript in the JavaScript console I get this error "SyntaxError: syntax error 1:Console:Exec undefined". Any idea how to deal with an error such as this one? Thanks! :)
The code isn't showing so i have typed it out! // get the number of fields in this PDF var nNumFields = this.numFields; // a variable for the field name being processed var cFieldName; // loop through all of the fields in the PDF for(i = 0; i < nNumFields; i++) { // get the field name for the ith field cFieldName = this.getNthFieldName(i); // set the userName to a null string this.getField(cFieldName).userName = ""; } // end for loop
JavaScript Code:
// get the number of fields in this PDF
var nNumFields = this.numFields;
// a variable for the field name being processed
var cFieldName;
// loop through all of the fields in the PDF
for(i = 0; i < nNumFields; i++) {
// get the field name for the ith field
cFieldName = this.getNthFieldName(i);
// set the userName to a null string
this.getField(cFieldName).userName = "";
} // end for loop
After doing this and all the ToopTips have been removed, do I have to delete away this function prior to adding back Tooltips for selected fields?
I knew this had to be easier than I was making it. Thank you for saving me HOURS of time.
My friend, you just saved me HOURS of work! This is a great and informative video and was exactly what I needed. Thank you for sharing. 👍
man, this worked perfectly great, you are awesome and saved me a lot of work. Thanks!
Thank you so much for this! Like many others, your video saved me hours and hours of fixing tooltip names! :)
Thank you sooooooooooooooo much!!! This video was really helpful. It saved me so much time
Fantastic!!!!!!!!!!!!! Thanks!
Joe
Thank you so much as you saved me a lot of time! I appreciate your sharing this with us!
Very helpful - thanks a million!
Phew. Thanks a ton!
Can you do a video on creating custom popup tooltips, for segments of specific / selected text (with hover over effect), within a PDF, and controlling where the tooltip pops up (i.e., relative to trigger field / button location), using Adobe Acrobat Pro ? ?
What a time saver, thank you
Thanks a lot!
Seriously!!! Thank you so much!!!! :-)
Thank you!!! You saved me hours of work!
Thanks!!!
The useful info begins at 2:24 if you're in a hurry.
Thank you so very much!
Hi Ramirez i have one Query how to remove the Tag ID Number in Adobe Acrobat can u help me
I have a pdf with 600 pages. Is there any way to delete all the images (only images) using javascript?
When I run the javascript in the JavaScript console I get this error "SyntaxError: syntax error
1:Console:Exec undefined". Any idea how to deal with an error such as this one? Thanks! :)
The code isn't showing so i have typed it out!
// get the number of fields in this PDF
var nNumFields =
this.numFields;
// a variable for the field name being processed var cFieldName;
// loop through all of the fields in the PDF
for(i = 0; i < nNumFields; i++) {
// get the field name for the ith field
cFieldName =
this.getNthFieldName(i);
// set the userName to a null string
this.getField(cFieldName).userName = "";
} // end for loop
Thank you! It didn't let me put it in the description. I've pinned it.
Would this delete the blue boxes for everyone or just me?
The fillable spaces would stay there for everyone. This script only removes the tooltips or "hints" when you hover over the spaces.
How to add tool tip using javascript