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

Javascript error for Inserting Pages from a source

Below is a script I wrote that isn't functioning properly on my large 200 page document that I need it to. Granted there might be a much easier way to script this, but I'm no expert. I have a 200 page...

View Article


Help needed for Time Calc Java Script

Hi,I am trying to create a timesheet in PDF and have hit a speed bump. Is there anyone there who could provide me with a script that calculated the difference between 2 times? (Field2 time)-(Feild 1...

View Article


Enforce custom email address, field cannot be blank

I am preparing forms and want to require only the school email is entered. I am currently using the default javascript for email validation, but would like to enforce the email end with @school...

View Article

Possible JS question

I made a acrobat stamp to stamp projects, but when I try to stamp something I get a ton of pop ups (for the check boxes). Is there a JS way of making it all in one fill able form or how does it work?

View Article

Help with javascrip

Hello, I am unfortunately not well-versed in javascript, & I have the following formulas in Excel that I need to put in a custom calculation script for a cell in an Adobe form.  Would anyone be...

View Article


Lock form & email as PDF Javascript

Hi Guys, I am using Adobe Acrobat X and creating a Forms natively. We do not use LiveCycle. So I have created a form with several fields, buttons a date picker - some of which I have found online.  The...

View Article

Script to determine days between dates

I'm totally new to JavaScript.  I'm attempting to do a calculation field with a custom calculation script.  I've tried to piece together something with script I've scavenged from multiple forums, but...

View Article

SyntaxError: missing ; berfore statement

I've got two "Date" fields/text boxes my goal is to enter a date in the "PO DATE" field/textbox then add 5 years to this date and have the new calculated date appear in the "REVIEW DATE" field/textbox...

View Article


Conditional if..else statements populating another field

Hi, new to the forum. A big shout out to all those that help people like me. It is greatly appreciated not only in solving the problem but helping us to learn as well. I have looked at other questions...

View Article


Text box Calculation based on 2 other text boxes

I have 3 text boxes, the first you can only leave it blank or enter numbers 1 through 5 (like a rewards program level)on the second text box i manually enter an amount like 204.99 (auto format for...

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

Extract Bookmarks and page numbers

I am looking for a either a piece of ActionScript or VBA to get all bookmark names and page numbers from a selected PDF and either export as a CSV (ActionScript) or dump into Excel (VBA option).  Any...

View Article

Check to see if any field is empty

I have a pretty large document that has over 200 text/check boxes. What I want to do is create a button that makes a pop-up warning for any blank fields in the entire document. Right now the only way...

View Article


dropdown list with javasscript

Hi, I am completly new in this field of making a drop Down list with Javascript. I have created a drop sown list with the following items to select. 1. Content2. Front loader3. Bucket4. Fork lift I...

View Article

How do i put javascript for the whole page and on click of any form field, it...

I basically have a pdf viewer in a website from which i can map data for each form field. I need a javascript which will identify the form field the user clicked on and open a link with the form field...

View Article


Validate text field value

Hello. I found this code: //set the varsvar one = this.getField("Name1");var two = this.getField("Name2");var three = this.getField("Name3");  //this function concatenates two field values into one...

View Article

Validate if a field is blank Adobe Acrobat Pro X

Hoping for some help please as this is driving me nuts!! I found some code below which works in reverse (ie if there is a single character or more in the field). However it won't work as event.value ==...

View Article


Read txt file

I am familiaral with the importTextData function, but I need something that will read the txt file and store what it read in a variable because I need to do something with that information.For...

View Article

value of drop down won't commit...

Hello, I am having an issue I hope one of you smarties can assist me with. Here is what I have placed into the Custom Calculation Script of the SigName2 (combo box) field:...

View Article

'flatten.txt' script for Acrobat 9 Flatten Document Menu Item

Hello,I was following the steps in this blog (Add a Flatten Document Menu Item to Acrobat) to add a Flatten Document menu item in Acrobat 9, and the link the 'flatten.txt' script is dead.  The page...

View Article
Browsing all 12130 articles
Browse latest View live


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