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

Question to Adobe: Ruling out non-Adobe viewers via Acrobat Javascript

Hi, ***I would like to address this question to Adobe Acrobat developers:**** I'd like to add a doc-level javascript (thru another script) that will check the viewer type, and if it neither Acrobat (6...

View Article


User input prompt not triggering when the dynamic stamp is applied

Hello All, let me start by saying I am not a programmer and the code I have is a cut, paste, and edit that I found on some other posts that I am trying to get to work.  I understand enough of the...

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

Disable field highlighting?

Good Morning, Working on a form that will be distributed to a number of users.  The form utilizes a lot of scripts to highlight fields that require attention.  The form works/shows well when the preset...

View Article

Validating Required Fields before Printing

I am relatively new to using Acrobat.  We are using Acrobat 9 Std to create PDFs that need to make the user complete Required fields before the form is printed.  Is there an easy script to be able to...

View Article


Javascript to save form in Acrobat X Pro

I have developed a return authorization form using the form function in Acrobat X Pro.  I would like to insert a "save" button into the form that would save the pdf form into a specific folder using...

View Article

getField().display=display.hidden

Hi, I have created over 200 fields and I want all the fields to be hidden with just one getField().display=display.hidden command. I cannot use the if loop becuase the name of the fields are not in a...

View Article

Validate Two Calculated Field Values Match

How would you do the custom validation scripts when two fields being compared are calculated? Example: field1 is the product of three entries and field2 is the sum of 15 entries. The results of the two...

View Article


Batch creation of bookmarks?

Moved from the Acrobat Macintosh forum (Batch creation of bookmarks?) I would like to add 107 bookmarks to a 250-page PDF in an automated  fashion. I have a list of the bookmarks titles, pages, and...

View Article


protect js code from view

is it possible to protect its own code in Acrobat from view? For example I seen documents where the DocumentJavaScript in JavaScript Toolbar is locked, how to do that or are there maybe other approaches?

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

Convert Hexadecimal NCRs to unicode characters

I have Hexadecimal NCRs in comments while importing comments from the 3b2 application. How can this be converted to appropriate characters using acrobat javascript. For example: The comment contains...

View Article

How to execute preflight profile using Acrobat Javascript

Execute a pre-flight profile using acrobat javascript and  call that function in VB.Net.

View Article


Is there anyway to email adobe form without opening email clinet application

I have a form, and it has a submitbyEmail button, it attaches the form to email, and the email addresses are already populated, but the user still need to go and press send on the email application to...

View Article

In Acrobat, I wrote a script to turn fields gray if a checkbox was checked....

In Acrobat, I wrote a script to turn fields gray if a checkbox was checked. How can I get it to reset to white (or clear) when the reset form button is clicked?

View Article


Custom validation script - coding help needed

Hi guys, I have a conundrum with a form I'm trying to scrap together a custom validation script for.Coding is not my strength but I can copy & paste and get the idea but for this exercise it seems...

View Article

Button icon disappear when form is submitted

I created a form containing a button that uses the event.target.buttonSetIcon() method to add a mugshot to the file.  Strangely, when I submit the file, the button goes blank.  The only way I found for...

View Article


Need to create date/timestamp or watermark when printed.....

I want to be able to have the time/date printed out on a pdf when it is printed. I could be as a header/footer or a watermark. It doesn't really matter. Is this possible? Can it be done in adobe...

View Article

How to Apply Security or Remove in Batch using Acrobat X

I’m using Acrobat X Pro. I’ve used Acrobat Pro 6-9. I need to remove security in batch and apply security to about 100 PDFs. I’m totally lost in Acrobat X. Where are all of the batch sequence commands...

View Article

Read CSV in acrobat javascript

Hi,         I am new to acrobat javascript. I want  to get the data from the CSV file and do process in active pdf file(opened current document) .Please, any one of you help , by provinding code for...

View Article
Browsing all 12130 articles
Browse latest View live


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