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

Adding a Text to existing PDF using VB

Hi I've been struggling with this for some time. Maybe someone knows how to access the PDF document and add text box to an existing doc using VBA. I know it is quite easy to go to tools select Add or...

View Article


Acrobat X freezes when I run a JavaScript Action after about 200 files.

Acrobat X freezes when I run a JavaScript Action after about 200 files, batches with less than 200 files work well.  I can watch the Acrobat.exe process in the resource monitor and when the Threads...

View Article


Validating an optionsgroup

HiI want to call a function via a button to validate  optiongroupsgroupnames: option1 option2 ............field selection names: auswahl1, auswahl2, .......I used the following code: function...

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

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


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

gregorian to hijri and viceversa javascript

I have a Javascript for a Hijri / Gregorian calendar.I need to get it into Adobe Acrobat PDF.The business requirements for this are easy. Just take the script i give you and get it to work in Adobe...

View Article

Using Excel VBA to save PDF file as a text (plain) file?

I'm using 8.0 Acrobat Pro. Third party apps are not an option (I'm restricted from installing anything on my office PC). I could simply save each PDF manually, but given the number of files this would...

View Article


Acrobat 9 Batch Processing - Get PDF filenames from folder?

Hello, Can anyone provide me with an example with how to use Batch Processing (when set to a specific folder/files) to get a list of filenames in that folder? I haven't been able to find any examples...

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

Unterminated String Literal..?

I am receiving an error message "unterminated string literal" in my custom calculation script and not sure why or how to fix it.  There error seems to occur on one of the last two lines on the code...

View Article

Insert or Stamp Filename

I have adobe acrobat 8. I want to insert or stamp the file name to the pdf. I have approximately 400 files to stamp with the individual file names so I would like to do it automatically. All help...

View Article

Using JavaScript to Print and Overwrite Active Form Files

Hello all, I have zero knowledge of JavaScript and I am hoping someone can help mequickly solve an issue I am having with active forms. I tried using the flattenfeature in the action wizard but it is...

View Article


If "Yes" Radio button checked, how do you make text field required?

All,Thank you in advance for any help you can give me.I do not know javascript and unfortunately I'm under a time crunch and can't go teach myself this...However, I can copy and paste pretty good. I...

View Article

Javascript created in LiveCycle getting Disabled in Adobe Pro for Distribution

HI All, I have some script in adobe form created in Livecycle (presubmit event) The goal is to get the value of the field in a form: here is the code: form1.#subform[2].SUBMIT::preSubmit:form -...

View Article


Acrobat X number to word

Is there a function that I can use in the Acrobat X form under custom script to convert a number that is entered in a field to words, like 2014  would become Two thousand and fourteen...the function...

View Article

Printing a PDF via Acrobat Javascript

Hi - I have a need to print a PDF programmatically, via Javascript.  The PDF is embedded in a Web page.  I use postMessage to communicate with the PDF. I've created a simple HTML page with an embedded...

View Article


Image may be NSFW.
Clik here to view.

Remove spawned template/new page

Hello, Thanks in advanced for taking the time to assist me. I have a single-paged .pdf document. On this page is a field with an action which uses javascript to spawn a template. This field has a...

View Article

Acrobat Forms - javascript to hide/unhide text box if any one of a number of...

I have a form which I am designing in Acrobat 9 which has a section where there are three questions, each with a pair of radio buttons - one for 'yes' and one for 'no'. They are in the style of a check...

View Article

Populate form with text from txt document.

Hi, I was wondering if it was possible for text forms in a PDF form could read from a text file to auto populate it. I know you can do it with CSV files and the information is coming from an excel file...

View Article
Browsing all 12130 articles
Browse latest View live


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