I want a stamp to write to the file metadata and be able to display the...
I want a stamp to write to the file metadata and be able to display the result in windows explorer. I have read PDF Stamp Secrets and can write to Custom Metadata but don't know how to display that...
View Articleglobal.srchVals[i] = {srchTrm: trim(""+myArr[i]).valueAsString, mode: 0,...
Hello, I'm trying to understand some Acrobat JavaScript and I was hoping to get an answers here. Here is the code: global.srchVals = [{}] for (i = 0; i<= nNumWords; i++) { global.srchVals[i] =...
View Articlefor (var j in PMItms)
Hello, Can anyone please tell me what the following code means and/or does: for (var j in PMItms) Is it something like: for (var i=1; i<=16; i++) { //some code } Please explain the...
View ArticleTypeError: " is undefined "
Hello, I am getting the following error: TypeError: global.srchVals[PMItms[j]] is undefined The code is failing at this line: global.srchVals[PMItms[j]].srchPgs = PMPgs; Here is more of the code...
View ArticleAllowing user input to override autocalculations
How do I get a form field to allow user input that overrides the autocalculation? I'm particularly looking for a code snippet I can use and/or modify. The code I have now is included below. //check...
View Articlesplit a PDF bookmarks by keeping bookmarks
I have a PDF with several bookmarks.In Acrobat X Pro,I would like to divide this PDF in several PDF in fonction of bookmarks in level 0.I would also like to keep the bookmarks in the divided PDF I...
View ArticleWhy is my script not calculating?
The first event is calculating correctly, but the second event is not. What is wrong with the script? var A = Number(this.getField("OriginalAwardedBid").value);var B =...
View ArticleScripts not showing up in console
Hi all I have put my folder scripts in the correct location as far as I know but I can't get any scripts to show up.See the screenshot below Any Ideas? Trevor
View ArticleNeed to get rid of 0
I have a table where: Box 1 = User Inputed DataBox 2 = User Inputed DataBox 3 = (Box 1 - Box 2) I've used this script: var v1 = getField("Box 1").valueAsString;var v2 = getField("Box...
View ArticleHow can I add form field value to the file name in save as dialog box
I do not want the form to be saved automatically, just want the form to auto populate the "file name" only. A little background on the forms I want to use: My company has 70 retail outlets, I'll use...
View ArticleAutomatic Number Generation When Opening an Acrobat Form
Hello, I've created a PDF Job Ticket Form with several input fields using Acrobat Pro, now I would like to have this form automatically generate a sequencial number on each page of the form everytime...
View ArticleExpand/Collapse all the Bookmarks in a PDF file
Hi, This is my first message on the board :-) I work with very large PDF files (i.e 2000 pages, 700 bookmarks on 5 or 6 levels!) and I'm looking for a script (Acrobat 9 Pro) allowing to expand/collapse...
View ArticleUsing Javascript to reset a form on document load
I am trying to reset all field vaules on a acrobat form to the default values, when the form is initially loaded. I am trying to use the resetForm() method in a document level script, but not having...
View Articleif and then take and action
Hi, I am moving this question that was at Richmedia & 3d to this section, considering that it is more like a javascript task. I have created a document with some interactivity. In the document...
View ArticleChanging Visibility Based on Drop Down Menu
I am making a QA sheet based on the customer selected in a drop down menu. So lets say I choose Customer_X, I would like it to show certain text / check boxes associated with that customer and hide...
View ArticleSetting a character limit based on a checkbox
Hi I have a bank form where there is a minimum amount of money required to open a certain type of account. I currently have a set of checkboxes 'Account Type' that are checked to select the particular...
View ArticleHow to get the Current Page Number in JS ?
Hi, I'm working on a webapp for my work, and I need the Current Page Number il order to save it in my database (AJAX) in order to re-use with the function SetCurrentPage(). I still searching, but I...
View ArticleError message: trim is not a function
I cannot get the standard string Trim() method to work in Acro Pro 11.What's up with that ?Any workarounds ?
View ArticleSpawning a new page depending on whether a text field is populated or not
I am trying to create a form that once the last line is in the description field contains text it will automatically spawn a new page directly below the page being filled in. I am so googled out. if...
View ArticleHow to initialize a date field to today's date?
I've got a text field formatted as date. I'd like the form to come up with the field initially filled to today's date, but to be overridable by the user.Is there a place to use document level...
View Article