Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Browsing all 12130 articles
Browse latest View live

Insert a PDF document to a PDF file at bookmark javascript?

I have a PDF file with several bookmarks. I want each bookmark, when clicked to run Javascript that prompts the user to select a file, weather it be a PDF file or word file. Once the file is selected,...

View Article


A dynamic "future" date stamp

Hello folks, I am looking to insert a future date automatically in a dynamic stamp. That is, I would like to be able to have the stamp automatically add X days to the current date. I have seen a lot of...

View Article


Programatically search text in PDF

HI, I am using IAFormApp formApp = newAFormApp(); to search for fields but I am getting the following error:An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in...

View Article

why can't I save a form under the same file name with multiple signatures

I have a form the requires several signature but after the first signature is placed and the form is saved (the lock document is not activated) when the form is opened again and the next signature is...

View Article

Help with Javascript if else...

I cant get this to calculate.  Not getting any errors... what I am trying to do:If the number the client enters in Methadone is between 1-10 I want the multiply by 4 and display result in...

View Article


changing calculation result to negative

I have a custom calculation script in an Acrobat form field:var myFormat = "mm/dd/yyyy"var startDt = this.getField("PolicyEffectiveDate").valuevar endDt = this.getField("ChngDate").valuevar startDate =...

View Article

I have a java script calulation that works fine on a PC but when the form is...

    var sDate = this.getField("MDate").value;if(sDate==""){event.value="";}else{var oDate = util.scand("mm/dd/yy", sDate);oDate.setDate(oDate.getDate() +6);event.value = util.printd("mm/dd/yy",...

View Article

Image may be NSFW.
Clik here to view.

Adobe Acrobat XI Pro: Read Out Loud Not Work Properly with Drop-Down Menus...

Hello, In a drop-down menu, as soon as I type a JavaScript code in the Custom Keystroke Script field, a problem occurs when I activate the View > Read Out Loud feature. The text-to speech...

View Article


Question of the Day!

What I need to do is after an employees fills in a section of a form that pertains to them and they add their digital signature, I need an email notification to be sent automatically to a specific...

View Article


How do I invoke Word PDFMaker from a macro?

Hi,I need to automate creating PDF's from Word with hyperlink fields converted precisely. The Adobe toolbar "Convert to Adobe PDF" button does exactly what I need. How do I invoke this type of...

View Article

Adding a date stamp using Acrobat XI

Hi there I want to add a date stamp to a voucher PDF, so that when it is downloaded and printed out, it displays today's (system) date. I followed the tutorial at:...

View Article

Image may be NSFW.
Clik here to view.

Help with Dynamic Stamp

HelloI have created a dynamic stamp that I swear was working great this morning, but now odd things are happening. I am very new to this. Heres what i have done so far....I created the PDF for the...

View Article

postMessage not working in IE

I am trying to post messages from my pdf document to the web browser.  I have the following code snippet below.  I am receiving the alert from the pdf file in all browsers.  I am not getting the...

View Article


division javascript

hello is this corect?// Get field values as numbers      var v1 = +getField("B19").value;      var v2 = +getField("Textfield37").value;       // calculate this field value      event.value = v1/v2;

View Article

Acrobat javascipt problem with text field

Hello.I work in hospital and I create a PDF with some javascript, to help us working with our patients. This PDF now need some upgrade and I m stuck. Im not a programmer, so its even more difficult to...

View Article


Page Spawning - Prompting For Number Of Pages

I asked a similar question a few years back and at the time, the project went by the wayside.  Well, the project is back on track and now I'm in a jam and need to use some javascript for some easy...

View Article

How can I add a Drawing Markup/Annotation to my stamp while it's being stamped?

I have created Dynamic Stamp and works perfect and its located in my user profile:C:\Users\XXXXX\AppData\Roaming\Adobe\Acrobat\10.0\Stamps\symbols.phpAnd this works just fine... Now I want to add a...

View Article


Trying to run .js script from MS Access

Hello guys, I am new to programming in JavaScript and Vba.Okay so I am trying to output data from a few cells from vba into a .js script in order to automatically create bookmarks in pdf files.This is...

View Article

If Else Statement for PDF Form

I am unfamilar with JavaScript and need to create a calculation for a PDF form. The form is used to determine profit. There is a radio button called payroll with two values, "internal" and "external"....

View Article

RaiseError: File does not begin with '%PDF

I have an application which has below script:var oDoc = event.target.openDataObject("testing123"); This script works fine if I run it on my local machine.  But I am planning to place the pdf...

View Article
Browsing all 12130 articles
Browse latest View live


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