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

How to Find and Replace words in whole document using JavaScprit?

I am using Acrobat 11. Any example of JavaScript that finds XYZ and replaces with ABC?

View Article


validate value range

Hey! I would like to make a simple script, validate a value range between 500-1500, and if the value is out side the range, is marked with red. Anyone who might can help?  Thanks in advance!

View Article


how to draw in Acrobat?

I know this is probably not the right place for that but...I am developing a Asp.net app that deals with PDF forms. I have learned how to do the entire javascript on PDF documents, how to submit FDF...

View Article

How can I set a specific value for a field, according to the option selected...

Eg.: I have a drop down menu with the following options: "1,2,3,4,5". What I want to do is the followin: If the option selected is "1" the field "Color" must be filled with "Green", if "2" the field...

View Article

How to make automatic numbering?

Hello Everyone ! I joined to your community short time ago and I have a question for you.I have created Technical Service Form for fault notification (only one page). This form is standing on the...

View Article


Add Curent Date & Time to PDF when Printed

This is my first post so please excuse any ignorance. Basically we are in the process of creating electronic copies of SOP’s and putting them on our file server for all staff to access. Due to...

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

Insert images into interactive PDF

Hello All, I am trying to create an Interactive PDF (forms) for users that should insert: - Name- Surname- Profile picture These information are then used to generate a badge and print it.So far I was...

View Article


value range

Hey, i was hopeing that someone might could help me.I would like a script which makes value different colors like;-0.2 > 0.2 = text will be black0.21 > 0.7 = text will be orange0.7 > 100 =...

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

how to draw in Acrobat?

I know this is probably not the right place for that but...I am developing a Asp.net app that deals with PDF forms. I have learned how to do the entire javascript on PDF documents, how to submit FDF...

View Article

How to convert attached image to icon?

Hello, My goal is it to have a script for a image popup.For that I use the javascript dialog with an icon.After converting a 1000px Image to aRGB-StringI've got the message:  Acrobat 10.0 - Integrierte...

View Article

Getting a field to print when two checkboxes are checked

I'm trying to get a field to print when two checkboxes are checked ("MEMBER_MARRIED_YES" and "SPOUSE_MEDICARE_UNDER_YES"). So, the idea is that if both these chkboxes are checked it will print the...

View Article


Recoding value into equation

I have 17 segments that are named SP1 through SP17. Each of the fields can have value of 0, 1, 2, 3, 4, or 9.I know how to add up all the fields i.e. event.value = this.getField("SP1").value +...

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


How do I create a time field that's export value is 3 hours ahead of the...

I need to create a field on one of our forms that takes the current time from another field and adds 3 hours to it. The JavaScript to pull the current time is: var tm =...

View Article

how to call c++ activexComponent using javascript

Hi, I need to call COM component using .js file.it is saying as ActiveXobject is not defined in acrobat.

View Article


Encrypting Pdf using smartcard

Hi,      How to encrypt a pdf file using acrobat javascript api. Thank You.

View Article

Remove 0 Value in Calculated Field

I copied the below question for another post here as it asks the question perfectly."I set up an invoice form to calculate totals from quantity x unit price. Every line has this formula, however the...

View Article

Can I cause checking a box to add 1 to a calculated form field? I have a...

Can I cause checking a box to add 1 to a calculated form field?  I have a field that sums the numbers entered in several previous fields and need to be able to add "1" if a checkbox is selected as well.

View Article
Browsing all 12130 articles
Browse latest View live


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