JavaScript Code for Adobe PDF
-
I don't code,.. and I have no idea where to start but am searching for some java script that will prompt a person for three or four bits of information when the 'stamp' a PDF document.
Example:
Code would prompt for Name, Data, File number...
I have gotten so far in creating the stamp itself,.. I just don't know Java to code the needed.
-
Title says Java. Post says JavaScript. Completely different animals.
-
@scottalanmiller
Title updated. -
I didn't even know that PDF documents let you have JavaScript in them.
-
@scottalanmiller said in JavaScript Code for Adobe PDF:
I didn't even know that PDF documents let you have JavaScript in them.
It's not the document itself. It's the 'Stamp', much like the mechanical analog method of 'Date Received'
In this case, it pops up a 'form' that prompts the user for data.
-
@scottalanmiller said in JavaScript Code for Adobe PDF:
I didn't even know that PDF documents let you have JavaScript in them.
You probably forgot about it. I'm guessing it's been around for 20 years but when I looked it up, it was actually 22 years ago.
PDF 1.3
Availability: April 1999
Matching software: Adobe Acrobat 4.0
New features:- 2-byte CID fonts
- Support for OPI 2.0
- Additional color spaces – ICC-based colors are supported. A new color space called DeviceN improves support for spot colors.
- Smooth shading, a technology that allows for efficient and very smooth blends (transitions from one color or tint to another).
- Annotations
- Digital signatures
- JavaScript actions
- RC4 encryption – 40 bit (Acrobat 4) & 56 bit (Acrobat 4.05)