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

PDF form - Create link to folder or other document

I've created PDF Form with various field along js. now client is asking the option to insert the link of other document reference in the field by using button. similar to browse to give the "link of...

View Article


concatenate fields using commas

How do I concatenate fields using proper English separators? I'm using Acrobat Pro X. I have fields named Field1, Field2, Field3, Field4 and Result. Example 1In Field1, I enter Apples. In Field2,...

View Article


Conditional Checkbox from Radio Button Value

I am creating an assessment form for use at my company. The form template already exists so I imported the form into Acrobat and added radio buttons and check boxes next to the selections. The form has...

View Article

split 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 Article

How do you calculate a date on a form?

I am working on a form for our customers and our staff to use and I needfor it to calculate a date from another date. We are currently using an Excel spreadsheet that is working very well, but we are...

View Article


Image may be NSFW.
Clik here to view.

Need Help Creating Custom Calculation Script Please

Hello,  I am in desperate need of a custom script here if anyone knows how to do it. I essentially want the percentage field to automatically fill in based on the fraction, rounded to the nearest...

View Article

Clearing the "this" reference.

I have forms that use the "this" doc reference a lot (e.g., this.getField). These forms use the "this" reference when performing an auto-save function to save the file in its current folder...

View Article

How do you Make an Interactive Drop Down Menu in Adobe Acrobat Pro That Uses...

Hi first off let me point out and apologise in advance for my ignorance and possibly my misuse of the correct terms, I'm new to this. Anyway here goes, my best attempt to try and explain myself. Using...

View Article


global.searchVals = [{}]

Hello, I need to understand what the following code means and what it does: var myArr = [7.4, 0.1, 0.1, 0.4, 9.7, 0.1, 53.1, 0.5, 0.1, 15.5, 4.8, 1.6, 5.7, 1.0];var nNumWords = myArr.length;...

View Article


Conditional Scripting for Fillable PDF Form

I will start off by saying that I am a communications professional who has NO experience in Java Scrpting. Currently, I am orking on creating a fillable PDF form that will be used internally. There are...

View Article

Circled Numbers

Hi All, I use Acrobat to make notes on PDF technical drawings.The main step is to place on the drawing/PDF file circled numbers (references for the dimensions shown in the drawing) : is there a way to...

View Article

How to automatically set Print Scaling to 'None'

Is there any way to automatically set print scaling to 'none' on an existing PDF document? This setting is set manually by going to File > Properties, and then going to the 'Advanced' tab and...

View Article

Hide/Show layers with Javascript

Hello, I am trying to find a Javascript method for hiding/showing layers in a pdf document. I would like to be able to use an if/else statement to set the visibility of multiple layers. Let's say I...

View Article


Calculation based on checkbox response.

Hi there,I am hoping to get some help with a calculation problem.I have an Acrobat XI form that needs to total a fee if the corresponding checkbox is ticked. The checkboxes are named “U1”, “U2” up to...

View Article

How to build list of (PDF) files in a local directory?

Folks,Part of a project requirement I have requires that a PDF form dynamically build a list of PDF files in a local user directory.   The files vary from system to system, but the idea is for the user...

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

save a screenshot and send it

Hi,I have created a kind of product configurator in a pdf file,I want to include a button that takes a screenshot of the document and then it can be sent by email.Any help will be appreciated!thanks in...

View Article


I have a main fillable form. From this main form the user may need additional...

I have a main fillable form.  From this main form the user may need additional forms.  I want to create checkboxes that link to these additional forms.  This part I believe I know how to do...

View Article

javascript doc.email function bypasses the required field validation

I have a form that has required fields on it. Instead of using the standard submit button, I've created a javascript to handle it. The reason is the user has to select the person they want the form...

View Article

Need to remove carriage returns, spaces, etc.

Hello, I am trying to build a string that is on one line, 1,2,3,4,5,6,7,8,9  however, I wind up with each number on a separate line. 1,2,3,4,5,6,7,8,9 My code looks like this:   var xxx = ""; for (var...

View Article
Browsing all 12130 articles
Browse latest View live


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