Questions
Recently active
Need help with a javascript please. I am using Adobe Acrobat Pro xiForm has a Received, Paid and Balance column. All formatted to number. I have a script that calculates. I am using the following Custom calculation script that works fine:var a=this.getField("BRow1");var b=this.getField("RRow2");var c=this.getField("PRow2");var d=this.getField("BRow2");d.value=(a.value+b.value)-c.value;I need an "if" statement. If var b (received) is empty and if var c (paid) is empty then var d (Balance) is blank. Any help is greatly appreciated. Thank you.
I need to generate a PDF417 barcode image as PDF, given a certain value from a textfield.I followed this thread (Is there not a method to add a barcode field via Javascript? ) and successfully added an image on a button, but I have to generate another image and then load it again on that button. Is there any way to generate an image using Javascript, without browser support, just the Adobe API?
I have an action wizard with a Preflight fix followed by Reduce File Size (Image 1). I have a "Move to Option" on the Preflight fix (Image 2).When I apply this action wizard to a pdf with a file name of 017.pdf, the file name is completely changed and saved as "A9RB40B.tmp" file in c:\Automatically Labeled Exhibits. Why? When I remove the Reduce File Size from the Action Wizard, I get a 017.pdf file like normal but obviously then I don't have a reduced file size.How do I prevent this? I want to retain the file name and .pdf. I am using Adobe Acrobat Pro X 10.1.16 on Windows 7.Image 1:Image 2:
Can someone help me with a JavaScript question? I'd like to create a new field which I'll call Control Number. This field would be comprised of the first four letters in "Last Name" combined with the current date to create what would amount to a 10 digit field (NNNNDDDDDD). This is a low volume form, so I'm not concerned about the potential for a duplicate control number. It is essentially for reference purposes.
Hi,I have tried searching Google for this but can't find the right thing. I have a PDF file with around 1500 pages. All of which are individualised instances of the same letter. Is there any way I can run a script that will separate these letters based on a list I have currently in Excel.Thank You
I need to perform a calculation in a textfield with booth addition and subtraction. Add two previous textfields and subtract another textfield.What does that looks like in javascript?
I'm trying to set up a form so that two text fields will populate with a default text (separate text in each text field) at the same time.Below is a screenshot of the fields.So, for example, if I select Utah (from 14 options) from the drop down menu in "State," "OH Fund Center" will auto-populate with APWSWR4949 and "OH WBS" will auto-populate with FR49.73. Here is the script I have been using in the Calculate tab in Properties for the OH Fund Center box:var v1 = this.getField("RecState").valueAsString; if (v1=="Colorado") event.value = "APWSWR0808"; if (v1=="Idaho") event.value = "APWSWR1616";if (v1=="Montana") event.value = "APWSWR3030";if (v1=="Nebraska") event.value = "APWSWR3131";if (v1=="Nevada") event.value = "APWSWR3232";if (v1=="New Mexico") event.value = "APWSWR3535";if (v1=="Oklahoma") event.value = "APWSWR4040";if (v1=="Oregon") event.value = "APWSWR4141";if (v1=="South Dakota") event.value = "APWSWR4646";if (v1=="Tennessee") event.value = "APWSWR4747";if (v1==
Hello!I am developing a PDF form in which I need people to report on events, so I created a line like this:Events where video was screenedName of event:____________________ Date of event:__________ Approx..# of attendees:_____Can I add a button or an action to this line so that people can add more events as needed?for example a + button that when press another line for an event will appear and the rest of the form will move accordingly to create the space necessary or a scroll. like this:Name of event: _________________ Date of event:___________ Approx. # of attendees:_____[add more events] <----this can be a button----/>I will really appreciate your help with this
Dear allI am looking for possible solutions to make my PDF document as efficient as possible. Therefor I want to make all ordering numbers (nnn.nnn) clickable for the user, so if he/she clicks on an ordering number he/she will be linked to our eshop and the corresponding number will be automatically placed in the right field.I know that you can send formula values to a web formula and also that you have certain possibilities with javascript. But I have no approach how to solve this problem. Can you maybe help me by explaining: Which possibilities exist in Adobe Acrobat or InDesign to solve this problem? What are the borders or the maximum Adobe PDF/InDesign can send to the website?What is it that Adobe can send (a special type of data / file format)?Do you know an example that can be found in the internet?Thanks a lot for your help! I am looking forward to it.
I have a drop down with items and prices. Pretty basic. Is it possible to have a heading category that is not selectable, but item and price would? This is what I'm talking about.Dropdown items: Carriage bolts //Category heading not selectable 1/2" x 3/8" 1/2" x 9/16" etc. Hex bolts //Category heading not selectable 1/2" x 5/8" etc. Zinc Flat Washers //Category heading not selectable 3/8" (bolt size) etc.Would it be possible via javascript? Or, at all? Can someone chime in and let me know. Thanks.
Long story short I figured out a simple way to calculate time in PDF using the export value field in the drop down selection list based on 24 hours. I broke the drop downs into three groups Hours (1-12 exports 1-12), Mins (in 15 min chunks based on 1 hr numerical value in export 15=0.25) and the AM/PM (AM 0 or adds 12 hours for PM) for both start and end times along with a break time (1-2 hours in 15 min chunks). The formula works fine for getting the fields, adding them up, and the subtracting the to the the total time worked, even breaking over the midnight barrier (which I had used in another version where the drop down menu contained all 24 hours in 15 min chunks but for this pdf it was too clunky to use the drop down that large). The trouble I noticed is when you use any 12 PM combo with AM time (it creates a midnight crossover because of the math). I then tried to add an else to the if statement doing the midnight crossover and keep getting the error invalid assignment left-hand
So now that I fixed my validation script for showing and hiding the layers in my acrobat form see (Show/hide layer from drop down menu based on conditions ) I am now having trouble getting the appropriate fields to show.I have three drop down menus:"1a Performer type""1b Performer type""1c Performer type"Each of the above have the following options:" " (single space default) (export value = 0)"Role" (export value = 1)"Understudy Role" (export value = 2)I have the following fields:"1 Performance Engagement Length""1 Performance Fee""1 Total Performance Fee""Type of Fee"Here is the code I have created for the "1b Performer type" drop down menuvar Performer1a = this.getField("1a Performer type").value;//default and role OR role and role selected - display Performance fields, hide Type of Fee fieldif ( ((event.value ==" ") && (Performer1a==1)) || (( event.value=="Role") && (Performer1a ==1)) ){this.getField("1 Performance Engagement Length").display = display.visible;this.g
I want to set up the drop down field to where when the item is chosen the price for that item shows up in a different text field.So if they pick Tin from the "Material Options" drop down field the price $.04 will show up in the "Price" text field. What do I need to do to set that up? I was thinking JavaScript but do not know how to set it up. Can someone please help me w/ the right code?Also, after the price shows up in the Price text field, can that field still be calculated w/ a different text field?
I have added buttons in a fillable form to add images. I have used javascript event.target.buttonImportIcon();. This seems to work fine for the first button but doesn't work for subsequent buttons. I have used the same script in each button. Suggestions?
I'm not fluent in JAVASCRIPT. I want to print blank forms that require a sequential number on each one. I was able to get it to print and change the number each time I printed, but each copy has the same number. Anyone have suggestions? I'm using Acrobat 8.
Is there an API available for Acrobat XI Pro version to compare PDFs programmatically?
come posso contattare l'assistenza tecnica in italiano per un problema di attivazione ?.
Hi,I am facing few issues in rendering PDF document in the 64-bit environment. The same source code is working fine in the 32-bit environment. Application Build Plat Form Target: x64In the project, the below DLL's were referenced 1. AxInterop.AcroPDFLib2. Interop.AcroPDFLib this.axAcroPDF1 = new AxAcroPDFLib.AxAcroPDF(); ((System.ComponentModel.ISupportInitialize)(this.axAcroPDF1)).BeginInit(); this.axAcroPDF1.Dock = System.Windows.Forms.DockStyle.Fill; this.axAcroPDF1.Enabled = true; this.axAcroPDF1.Location = new System.Drawing.Point(0, 0); this.axAcroPDF1.Name = "axAcroPDF1"; &
Hello,I am trying to find a script that will convert a date field (XX/XX/XX) into three separate fields to populate the following text:In WITNESS WHEREOF, the respective parties thereto have executed this instrument this _____day of_____________, 20________.I am a novice at best with JavaScript and I have not been able to locate anything online to assist me with this problem.Can anyone out there help??
Hi,I added "Reduce File Size" to an action wizard and now all my saved files show up as .tmp files?Why?File named "021.pdf" now shows up as "A9R1B0.tmp.pdf"How can I prevent this?I am using Adobe Acrobat Pro X 10.1.16 on Windows 7.
I would like to populate 2 text boxes after the push of a button. Basically, after the user clicks Button1, the text 'Hello World' would populate Textbox1 and Textbox2 would be populated with the current date (today's date).Is this possible with Javascript on the button's action?Thanks in advance.
Would someone be able to help me create the code for the following scenario:I am creating a form where one text field (FUNDRow1) could have a response of either 200, 400 or 500.If the response typed into FUNDRow1 is 200 I need the number 200 to be copied into the field (SectionEFUNDRow1). If any other number is typed into FUNDRow1 other than 200 I need the SectionEFUNDRow1 to remain blank.If the response typed into FUNDRow1 is either 400 or 500 I need the response to be copied into a different field (SectionEFUNDRow2). If any other number is typed into FUNDRow1 other than 400 or 500 I need the SectionEFUNDRow2 to remain blank.
Hi,I have created a macro in a program called Winautomation, makes it possible to automate certain windows actions.So I created one to automate some tasks in Adobe Acrobat but now is the question how I can easily use them in Acrobat.You can assign hotkeys to trigger the robot. You can also export them as a exe file.Problem in Acrobat: EXE files is not possible to open because of security reasons.Would there be a possibility to make a button that assigns a javascript that evokes a hotkey? For example: "CTRL+ALT+SHIFT+F10"?thanks!
Hi,I have this code which loops and labels documents:var oDocNumTypes = {"Exhibit":{Prefix:"A"},"Attachment":{Prefix:"B"},"Memo":{Prefix:"C"},"Sample ":{Prefix:"D"}, };The user has to select the document type from a drop down list. After the user selects "Exhibit" for instance from the drop down list, it labels the first document and then the second , third and so on. However, the chosen value of "Exhibit" disappears from the drop down list. I want it to remain throughout the looping so user does not get confused and think they need to keep selecting it each time. How can I do this?Original selection:Does not retain original selection...Defaults back to showing nothing through loopsI am using Adobe Acrobat Pro X 10.1.16 on Windows 7.
Dear people,I'm having problems with a piece of script what I am trying to implement in a form field.This is the code, only how can I apply this that the input is from the form field and the output automatically changes.function encode( str, prepend ){ var result = []; if ( prepend ) { result.push( str.charAt( 0 ) ); } result.push( encode.first( str ) ); result.push( encode.second( str ) ); return result.join( ' ' ).trim();}encode.table = { A: [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ], B: [';', 'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l'], C: ['p', 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o']}encode.keys = [ ['A', 'A', 'A', 'A', 'A', 'A'], ['A', 'A', 'B
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.