Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript

Combining an even pages file and an odd pages file into one PDF achieving...

Hello all!I have several documents that were scanned (in another application) using an autofeed scanner yielding one file for all frontpages (odds) and one file for all backpages (evens). I have these...

View Article


Convert multiple files (word docs) to multiple pdf

Hi,Is there a script I can use in batch processing to convert about 1500 word documents into pdf? I know it's possible to convert multiple files into one pdf, but this is no good to me. Doing these...

View Article


How send filled form via email in PDF format not XML when button clicked

View Article

show/hide fields based on drop down choices

I have a dropdown field with three choices. Based on the selection, I need a specific text form field to appear, and the others to remain hidden. (Or if it makes the code more clean, the resulting...

View Article

how do i populate a form with current date?

I tried the instructions below but it does not work: In Acrobat:The script you create to display the current date when the document is opened is a document level script.To create an automatic date...

View Article


How do I use Acrobat JavaScript to perform digital signature (e-sign) in...

With this script, I can perform batch signature: // Choose handlervar manipulador = security.getHandler("Adobe.PPKLite");     // login -- change as appropriatemanipulador.login("test123",...

View Article

Enforcing required text fields in pdf before saving or printing

Hi all, First of all, please know that I have just spent over an hour going through as many threads as I can regarding required fields but none of them seemed to answer my question since most dealt...

View Article

Image may be NSFW.
Clik here to view.

How do i enable thethe JavaScript console - Acrobat XI Standard?

I have a simple task (of exporting and saving pages of a pdf as specific names) that is repeated and id like to be able to automate somehow through JS.  I am trying to enable the console using this...

View Article


How to create sequential number field?

I have created a pdf file and I'd like to have a field with sequential numbers. For instance, if I open my pdf now and it has number 1 in the field, 'd like to have number 2 in the field the next time...

View Article


Add x days to x date

Hi! I am quite new at Acrobat and Javascript, which is a common lament on this discussion board from what I have read. But I need a little help! I am creating a form in which the user needs to be able...

View Article

Extract PDF Pages Based on Content

Every fall and winter I have to work with PDF files that are hundreds of pages. Last fall I came across a java script that I was able to run and it worked beautifully. In the last year, I have either...

View Article

Get value of text field?

Hoping someone can help me... I have a adobe form with a text input field alongside a checkbox. I want my javascript to basically do the following: check the number inserted by the user into the text...

View Article

Image may be NSFW.
Clik here to view.

Export bookmarks from a PDF- Create Bookmarks report not working-Please help

Downloaded and installed the add in " Create Bookmark Report".From the following site: https://acrobatusers.com/actions-exchange?trackingid=JZXYQLocal machine being used runs most current updated...

View Article


In Pro DC, how to print filename in footer of pdf?

How to print filename in footer of pdf?

View Article

editing a pdf file using javascript: how to do?

just realized that it is possible to edit PDF files using javascript. I have some, very small, experience in the past writing controls in javascript but honestly I don't know how to edit a pdf file...

View Article


Import data from excel and create multiple separate forms in Adobe

I am trying to auto populate pdf forms from excel (like mailmerge in word). I have multiple rows in excel and when I import data from the excel sheet, i would like each row to be created as a separate...

View Article

Save PDF File Name as Field Name in PDF

Hi all, I've read through this thread : https://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript and I still can't figure this out. I want to have a custom save button on my fillable form...

View Article


Custom Text Field in a Dymanic Stamp

Im creating a new dymanic custom stamp, but instead of the date/time, when inserted, I need to then manually enter text into the dymanic text field. How do I change the script in the dymanic feild of...

View Article

GetField and String

I need help with my script. I am taking the value in A, B and C and end result is in D (i.e, 2, C, 8 end result in box is 2C8. Thank you for any help you can give me. I am using AdobeAcrobat v8...

View Article

Help with Save As using JavaScript

Hi All, This is my first attempt at using Javascript... I am attempting to create a Save As button on a form that will:Create a file name based on fields;Save to a specific folder (And if it doesn't...

View Article

Convert numeric in words in adobe forms (start with the currency)

Hi to all, Below script i found here for converting numeric into words and its work perfectly. Just I edit in UAE currency.It is possible to move the dirhams (currency) in front like. 1,900,000.55 =...

View Article


How can I stamp multiple pages of the same PDF with a batch stamp?

I used to have batch stamp on my Adobe Reader but I recently got a new computer. I need to apply stamps to PDFs daily, sometimes up to 300 pages for one document. Applying the stamp to each page...

View Article


Expand/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 Article

Add Curent Date & Time to PDF when Printed

This is my first post so please excuse any ignorance. Basically we are in the process of creating electronic copies of SOP’s and putting them on our file server for all staff to access. Due to...

View Article

pdf form conditional checkboxes

Hi. I'm building a pdf form in Acrobat 8 Professional. I want to add JavaScript to 3 checkboxes to achieve the following:if checkbox 1 or 2 is checked, uncheck checkbox 3; and if checkbox 3 is checked...

View Article


Insert images into interactive PDF

Hello All, I am trying to create an Interactive PDF (forms) for users that should insert: - Name- Surname- Profile picture These information are then used to generate a badge and print it.So far I was...

View Article

can't select fields for calculations

someone suggested I try this section.  Hi I am using acrobat 9 pro and i can't slect field for calculations. I can select all of them by clicking on select all and can deselect all. but I cannot choose...

View Article

Custom Format Script Help

I am not too familiar with scripting but am hoping someone can provide some guidance or at least somewhere online that will show me how to do this.  Here's what I'm trying to do: I have a text field...

View Article

Testing print to PDF, and getting an error

So I'm testing one of my forms on another computer as a person who wouldn't have an Adobe PDF printer, who would need a PDF printer to print only the fields that have been filled, who downloads and...

View Article



how to run a script on document open

I would like to run a script on doc/open that will import some data for later use. Under "Javascript/Document Actions" there are listed "Document Will Close" "Document Did Close" and a few others that...

View Article

How do you view javascript that is embedded in a pdf?

I am using Adobe Acrobat Professional 8. I have gone into edit->preferences->javascript and checked "enable javascript debugger" and restarted. Upon opening a pdf with embedded javascript, I see...

View Article

open file using Javascript

I am trying to open a file using a javascript dropdown menu. I know acrobat allows users to open a single file using the standard features, but I have about 30 different files that need to be...

View Article

How do I convert Excel formula to Javascript?

I tried using Online Excel Formula Beautifier to convert an Excel formula to javascript for use in Adobe Acrobat Pro XI >Forms>Text Field Properties>Custom Calculation Script but it didn't...

View Article


Execute a script on selected field

I have a script that can display an alert with the stroke color and stroke line width. But in this exemple I need to know the name of the field. How can such script works with the selected field...

View Article

The value entered does not match the format of the field

I have set up some basic formulas in my PDF.  Example....I have a Swing field and a Cycles field.  In the Cycles field under calculate I have a Simplified field notation:  (60*60)/Swing  The formula...

View Article

Date Field & Date format in a specific language. Possible?

By default, the date field is using the language setting of the Acrobat user. Is there a way to force a specific language to be use in the UI of the Date fields (months and day) and also for the custom...

View Article


Dynamic Dropdown list in Adobe Acrobat Pro XI

Ok guys and gals.  I'm going nuts here. I have been doing a lot of research on a dynamic drop down list for adobe acrobat pro XI.  I've seen a few things but nothing is working.  Here is what I am...

View Article


Rename PDF based on content?

Is there a Javascript available that automatically renames a PDF based on the content? Some fields in the PDF should be reflected in the PDF name.

View Article

Split PDF based on content, and save into different pdfs with custom file name

Hello. I'm a beginner in javascript, and I have adobe acrobat X pro.  I want to be able to search for a specific string within the pdf, and then save the sequence of numbers that come after that string...

View Article

NotAllowedError: Security settings prevent access to this property or method.

hey guys,     I'm getting this error when I click in the check box in adobe. do I have a settings issue or a syntax issue or what? can anyone help? NotAllowedError: Security settings prevent access to...

View Article

How to use external data to fill in an existing PDF form in JavaScript?

Hi all,I've got a question which is : I have data from a database, now I need to use the data to fill in a PDF form? To be more specific, for example, there are "name", "phone number" and "address"...

View Article


Automatically put a comma after each entry in a text box.

Hello everyone,have a text field where the user can enter his name, after each name entry must appear a comma (,) .The username can vary by length, I would like to put a comma (,) behind every user...

View Article

Script to Extract Pages from .csv Triggers Consolidating Fonts

I'm an amateur with JavaScript, but a couple years ago I adapted a script to my own purposes sucessfully. The script would, for each string in a .csv file, search the document and create an array of...

View Article


Javascript to pull a PDF field into the Subject line of email?

I've created a fillable PDF form using Pro X.  I'd like to program the Submit button so that once in the email portion, the subject line would automatically pull 3 specific fields from the PDF file....

View Article

Custom Calculation Script for PDF Form

Hello, I have no javascript experience at all; however, I learned by searching on the internet that I need to create a Custom Calculation Script on my .pdf form to get it to do what I want. I...

View Article


Remove JavaScript

Hi I need to ensure that there is no JavaScript code in my PDF documents. Some of the documents come from the Internet while others are created using the Adobe PDF printer of Acrobat X. I'll have to...

View Article

Auto-populating X date by Adding x # of days

Here is my scenario:add # of days (based on value entered in "90daysadded" text field) to the date entered in "Startdate" date field and return results in "90daydate" date field I entered the following...

View Article

Image may be NSFW.
Clik here to view.

SetLock and getLock methods in VBA

Hello community, This is my first post here and I have a couple of question for you concerning a very particular point : I need to add a signature field that would lock all other fields in my form whe...

View Article

How to check multiple checkboxes depending on dropdown-list value

Hi everybody, so I have the following case which I don´t know how to find a solution. I have an drop-down list (mainList) with three values (value1, value2 and value3), five checkboxes (C1, C2, C3, C4,...

View Article


checkbox to show/hide a field

I'm tring to add java to a checkbox that, when the checkbox is checked, will display a field. And when that checkbox is unchecked will hide that field. I have the feeling that would not be too...

View Article



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>