『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
I have a payroll claim form in which I need a warning message to appear if the claim date is more than 62 days prior to the current date. The forums and links have been very useful to get me to a point where my script works in a test form with just 3 fields - the claim date, claim value and warning message. The warning message is in a text field with the property set to hidden by default (and I have a document level script to reset its display property on closing). The issue I have is that the script doesn't seem to work consistently now I have placed it into the working form. Essentially if the claim date is entered that is less than 62 days old then the message remains hidden but it also doesn't then appear if a date is entered that is more than 62 days old. If that old date is then deleted from the field on hitting enter the warning message is revealed. If a further date is entered that is less than 62 days old the message will be hidden again. The script I am running is below. Thes
Good morning, I am have set up a form containing two columns of text boxes (20 boxes in each column). I have made an additional box at the bottom of each column for calculations where-in lies my problem. I have set the text boxes to automatically put an X in each box by clicking on it, however I need to be able to assign a point value of 5 to each X in the first column and have it populate a score in the box at the bottom of the second column. I would like the bottom box in the first column to calculate the total number of X's in the second column. I have attached a section of the form to help explain what I'm trying to do. I am very new to Adobe Acrobat and have little to no knowledge other than just playing around to figure things out, however this is eluding me. Any help would be greatly appreciated.
Hi, I am new to Adobe. I was wondering how to have a drop down menu when a selection was made, based on what you selected when you hit submit it would go to a different person. I am using Acrobat DC.example:I choose option 1 it goes to email 1I choose option 2 it goes to email 2
Im trying to make it so when you place a number between 1-20 the value for dnd is place in the box above.DND values: 0,1 = -52,3 = -44,5 = -36,7 = -28,9 = -110,11 = 012,13 = +114,15 = +216,17 = +318,19 = +420 = +5I have a if statement already made but i copied if from a different website and just modified to what i need. I'm not sure how to make x the str field and the print out to STRmod field. Thank you for your helppublic class Test { public static void main(String args[]) { int x = 0; if( x == 0 ) { System.out.print(-5); }else if( x == 1 ) { System.out.print(-5); }else if( x == 2 ) { System.out.print(-4); }else if( x == 3 ) { System.out.print(-4);  
Hi,I am creating form in Acrobat Pro to allows users to insert images via the Image Field function. Once an image is inserted, a text field below is required to be filled in.I have created a javascript code for a similar scenario involving checkboxes. However, I have been unable to locate the correct terminology to reference the Image Field. Below is the Javascript code for the checkbox scenario.event.target.buttonImportIcon();var showHide = event.target.isBoxChecked(0)?display.visible:display.hidden;this.getField("Photo1_Caption").display = showHide;if(event.target.value == "Yes") {// console.println("Checked " + event.value);this.getField("Photo1_Caption").required = true;}else {// console.println("Not " + event.value);this.getField("Photo1_Caption").required = false;}Using the above code as a guide, is it possible for some assistance to achieve the following end outcome please:If image is inserted into Image Field, the text field is made visible and requiredIf no image is inserted i
Have been producing print brochures 2 up with covers for many years but with so many devices browsers and viewers available it is becoming a nightmare. In the past i could force the pdfs to download from a website and hopefully it would be views in acrobat reader as would most email attachment but with the proliferation of readers browsers and devices that can handle pdfs. Using Acrobat specific views are becoming problematic.Problem is there are so many advantages to 2 up with covers view like the ability to print pages duplex etc which clients seem to like but they complain that their clients are viewing the pdf in single page view. Currently I am solving this issue
I've been trying for 3 days to make it where when I chose an address in a dropdown, and have it auto populate the phone and fax number to no avail. I'm using Adobe Acrobat Pro DC. Any help would be appreciated. Thank you.
I'm trying to get the processing start time and then subtract it from the processing end time. I need to convert the time before doing the math, right?both of my scand commands give me NULL. Can you guys see what I did wrong here?var startTime = util.printd("HH:MM:ss", new Date());var compStartTime = util.scand("HH:MM:ss",startTime);app.alert("start time converted: "+compStartTime);// Do some stuffvar finishTime = util.printd("HH:MM:ss", new Date());var compFinishTime = util.scand("HH:MM:ss", finishTime);var calcTime = compFinishTime - compStartTime;var finalTime = util.printd("HH:MM:ss",calcTime);app.alert(finalTime);Thanks for your help!Rick
I am using Adobe Acrobat DC Professional. I am creating a user filled PDF. What I want to be able to do is once they fill out a column of information, in the next column, have a check box that asks if this column is the same as the first. If they click Yes, that column's fields auto populate with the first column's information. I am also trying to do the same function on the same form but the user will select using a drop down menu of which columns they want to mirror. Thanks for any help!
I am using Action Wizard to insert blank pages on odd page documents. In the past i used a script that found a file path to a document that says "this page is intentionally left blank", but i would like to build a script that adds a watermark to the new blank page that says the same thing. Below are the two scripts i found but i am unsure how to make them work together. I am new to javascript and im not sure if this is even possible or if im doing everything the hard way. Thanks for the helpScript 1:if (this.numPages % 2) { this.newPage();}Script 2: this.addWatermarkFromText({cText: "This\n\nPage\n\n\n\nIs\n\nIntentionally\n\nLeft\n\nBlank",nTextAlign:app.constants.align.center,cFont: "Helvetica-Bold",nFontSize:36,aColor: color.red,nStart: this.pageNum,nOpacity: 0.5});
Hi Im using Adobe Acrobat Pro DC Version 2015.023.20053 on Windows 10I would like - based on a 2 page pdf form (the first page is the input page the second page ist the output page) to extract the second page and save it based on fields of the first page.extracting works as following:on the button "extract and save as" in the Action tab, run javascriptthis.extractPages({nStart:1});this extracts the correct page as a tmp file.so far so good.how do I add (1) name and (2) path, to the extracted page and save it under the name, based on fields from the first page?(1) name: lastname_firstname.pdf lastname = textfield on first page firstname = textfield on first page (2) path: /s/flie-server/Tech-support/"region" "region" = dropdownfield of the first page and existing folder in /s/flie-server/Tech-support/(3) close the extracted p
I have a script that requires some significant processing time and I want to display an indicator to the user... like maybe what page is being processed.Is there a method for displaying a message while the script is doing its thing?Thanks for any help you can give me!Rick
Hello All,I'm trying to make a new 3D PDF template for Inventor with use of the autodesk samples.Dropbox - Sample Assembly Template.pdf The buttons I want to reproduce are, front view, back view, top view etc.The code used is very simple:this.akBom.setCameraToCannedView(this, "FRONT");However, when I copy the existing button to a new form or reproduce it with the same settings and this JavaScript code it does not work.Do you have an idea what I'm missing or need to do to get this to work?Kind regards,Peter
I want it to default to Red instead of Black like it used to in Acrobat X. Also the font keeps changing size when I click to start entering text. Is there a way to keep it to the size and style I want?
Hello,With the C SDK is it possible to modify the UI? I would like to have a floating palette with buttons and text areas.P.
Good morningI currently have Adobe Pro XI version Adobe 11.0.23 on a Windows 10 ComputerI have created several stamps in the past to place a signature at an indicated place on a document. I first have the person sign a piece a paper, scan the document into adobe, save it as a .jpg image, then go into paint.net, make background transparent and save as a .gif image. Then I go back into Adobe, click on the stamp tool, click on custom stamp, create custom stamp, browse for the image, etc.Then I go find the stamp in adobe in the C drive stamp folder--and using the template feature change the name to a more manageable name with #NameOfStampAfter that, I make a java script file with the following script.function NameOfFunction(oDoc){var cStampName = "#NameOfStamp";var oStamp = this.addAnnot ({page:this.pageNum, type:"Stamp", AP: cStampName, rect:[97.92,170.64,247.68,192.96]});}app.addToolButton({cName: "NameOfStamp",  
I have a background service written in C# that converts Pdf to Xml using Acrobat SDK Interapplication communication approach.The problem is for some PDF the acrobat application shows a warning message window before saving the converted XML.In such scenario the user need to interrupt and close the window manually. As its a background service i need to handle this warning message window programmatically in code, but i didn't find any solution in Acrobat SDK documentation to handle this .Below is the sample screen shot with warning message while converting PDf to Xml.
I am trying to create a java script to auto populate a yes or no value in one field based on a value in another field. I tried the following script, but it did not work:if(Depth To Water ft2 <= 20.20) { Submerged YN2 = "Yes"; } else { Submerged YN2 = "No"; }
Variable 1 = text fieldvariable 2 = checkbox 1variable 3 = checkbox 2Condition: if variable 1 is completed, tick checkbox 2 and hide checkbox 1if checkbox 1 is tick, tick checkbox 2 and text field is hiddenEither variable 1 or variable 2 is required to tick checkbox 2.What script should I use?Thanks a lot!
Acrobat X PROMy Serial number is not recognised after a Restart on Windows 10 and returning to Windows 7. I have uninstalled the programme when doing the roll back . Can anyone help ?
eine excel weinbestellliste wurde von mir in acrobat als interaktives PDF aufgebaut.die früheren Formeln aus excel zur Rabattierung müßten in javascript umgewandelt werdenFormeln aus Excel, OriginalpreislisteFormel1 WENN(UND(J79≤250);"5% Mengenrabatt ab 250 €";WENN(UND(J79≤500);"8% Mengenrabatt ab 500 €";WENN(UND(J79≤1000);"10% Mengenrabatt ab 1000 €";WENN(UND(J79≥1000);""))))Formel 2WENN(UND(J79≥1000);"10%";WENN(UND(J79≥500);"8%";WENN(UND(J79≥250);"5%";WENN(UND(J79≤250);""))))Formel 3 WENN(E81="";"";−(J79×E81))[Question moved to the Acrobat JavaScript forum. - Mod.]
i have a image field, and i need to bind a pdf with the image field using base 64 of the image. How to do it?var x = "base64 of an image";ImageField.rawValue = x;
Here is what I want to be available when the click the selection(s). List selections in boldCompany Name -Name -DBABilling Address -Street Address -City -State -Zip -County -Phone -Fax -Contact Name -EmailShipping Address -Street Address -City -State -Zip -County -Phone -Fax -Contact Name -EmailLegal Structure -Sole Proprietorship -Partnership -Government -Trust/Estate &nb
Dear Community,I wondered if you could help me.I am trying to add a validation rule for some fields in the PDF timesheet created as a fillable form.The employee have an option to select from 0, 0.25,0.50,0.75 and 1 day from a drop-down in the three columns:1. Standard hours2. Sick Day3. Day offWhat we would like to achieve is to restrict the total value of these three column to maximum 1 meaning that our employee can only claim up to 1 day for each working day regardless the column filled.I have tried to build the validation rule with the below using the column SET with a value "1"(function () { var v1 = +getField("SET1").value; var v2 = +event.value; if (v2 > v1) { app.alert("The total value per day must not exceed 1", 1); event.rc = false; }if (v2 < v1) { app.alert("Please assi
I am currently using Adobe Acrobat Pro 2017 and have created several Fillable Forms which our dealers use for various purposes. Once the Fillable Forms are received back to our Order Entry or Customer Service departments, I would like them to be able to pull the data from the form(s) into an Excel spreadsheet or Access database. I have been successful in using the Acrobat object in VBA to pull the data from each of the form fields and insert the data into a spreadsheet or database as needed. However, most of my users (20+) have only Adobe Reader. The Acrobat object is not installed or accessible with this version of Adobe. I am looking for other options to pull form field data and populate a Microsoft Office spreadsheet or database. I have not found an object such as Acrobat which my users with Adobe Reader would have access to. Is there one that I am missing? Should I be using something other than VBA with which I can access the fillable
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.