Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
I have developed a pdf form with various checkboxes in Acrobat Pro. In one section, the response to a question is a YES (The form field is CBY) or NO (The form field is CBN)checkbox. How do I require at least one of the checkboxes to be checked before submitting the form. In another section, I have a checkbox for OTHER (The form field is Check Box18) with a space to enter text in Text32 (The form field is Text32). How do I require a text to be completed if the 'Other' checkbox is checked.Please provide step by step since this is foreign to me. Thanks.
created a shipping form with drop down box of ship to names but want to auto populate the facility name, address, phone etc based on whose name i select.. looked at alot of the info on java scripting this and just still confused,, can some one really spell it out and make it simple. i cannot load additional sofware due to system being admin locked down so have to work within adobe acrobat.. thanks
I have an alert in document-level that opens if a certain button is not hidden and then when that button is hidden, the alert doesn't open. So that works fine but when I tried adding a second alert, I get issues. What I'm trying to accomplish is there are two parts to a pdf form (PART I and PART II). If part 1 doesn't have a button hidden, then an alert will pop up when the document is opened. After part 1 has been digitally signed, the button will hide and that alert won't popup anymore but a second alert will pop up if part 1's button hidden AND part 2's button is not hidden. Once part 2 has been signed, part 2's button is hidden and no more alerts should pop up.It all works up to the last part. The second alert still pops up even though both buttons are hidden. Here's my code:var VerifyPartI = this.getField("Verify PART I");var VerifyPartII = this.getField("Verify PART II");if (VerifyPartI.hidden == false){if(app.alert("Inputted text",2,1,"T
How do I reference a text field in a javascript calculation, example: var HR = (55-20); event.value=Math.pow(HR,0.54); Where 55 references a Field name?
Is it possible to embed javascript in a DPF so that when the print action happens it either (a) Closed the PDF which is being printed and deletes the file or (b) Watermarks the PDF and closed Adobe thus saving/overwriting the PDF which was printed?
Hi,I have a fillable form PDF that has multiple similar pages. I want to be able to add more pages for entry if the user needs it, but not have the document be tens of pages long.if the user doesn't need that much space.Someone had suggesting using method spawn for this; I tried it, but I found that my form field names changed so that radio buttons were no longer linked etc. And that it would always add to the bottom of the doc, whereas I'd want it directly after the template page.So instead, I'm hoping to add hidden pages to my form. I want my users to be able to click a button (or a checkbox, or a radio button, or whatever) at the bottom of the template page that will unhide the next page so it can be filled out. Is this possible?Thank you!
Hi,How do I create a pdf form where when I check, CheckboxA, a dropdown named DropdownA appears and when the checkbox is not checked, that dropdown is hidden?Thanks!
reI am converting an IRS schedule from pdf to WORD. When I do this the WORD document created is pretty good, however, there are small "a"s on every page to the point I can't find them all. I have to send the schedule to the IRS and I don't want to take a chance they won't except it because I missed deleting some of the "a"s. Also when I delete them some of the amounts shown on the WORD document jump to a different place so I can't use the document anyway. When making the conversion from pdf to WORD, what can I do to eliminate the "a"s?
Hi. Im trying to extract the x.y coordinates of any word/number matches in the pdf. Below is the code i am using. This works great for words like "California" but when i use numbers with symbols like 3.0-234 this doesn't work. Please help as this is very urgent for me. (I have tried giving 'false' in the 3rd parameter of getPageNthWord but still doesn't work)for (var p = 0; p < this.numPages; p++) { var numWords = this.getPageNumWords(p); for (var i=0; i<numWords; i++) { var ckWord = this.getPageNthWord(p, i, true); var num = 'California'; var n = num.toString(); if ( ckWord == n) { app.alert("Mouse position is: " + this.mouseX + "," + this.mouseY, 3); } } }
I would like to find a means to cause a script in DocA to open a specified folder, after which the user would select one of many fdf files in that folder to import into DocA. (The file name is not known when creating the script.)When I execute the following script in a mouse up action I receive a privileged status warning asking if I trust this site, but when I click "Allow" nothing happens, and placing this in a privileged folder level script does not seem to work either.var parentPath = this.getField("txtL.Path.Parent").valueAsString;var agentFolder = this.getField("txtL.Folder.Agent").valueAsString; this.importAnFDF("" + parentPath + agentFolder);Can I do what I want to do? If so, how?
On my PDF I have one form field where someone can input a hex code and to the right of that I have another box. If possible, I would love to use Javascript to make it so when someone inputs a hex code it changes the fill color of the box to the right with that color.Here is a screenshot of my PDF:I'm not sure if this is possible, but fingers crossed it is Important to note I have a very basic understanding of Javascript.Thank you for your help,Eric
I am looking for something specific and have been unable to find it on the forums. I am not even sure if it is feasible. It isn't a requirement, it is a nice to have.Basically I have a 3 page form that I created to assist those submitting requests to me to do them consistently and help mitigate the potential for inaccuracy. It is a fairly simple form and I found some answers on the forums that helped me get it about 95% there.Basically I would like something where the Total Cost box (on page 1 which is derived from a sum calculation from fields on page 2) will be divided by the number of fields with information entered in them from page 3 and show the results in a dollar value in the field Per Person Cost on page 1.I have 38 total fields with two different naming conventions on page 3 that need to be included in a script.PRINT NAME1 (it goes to PRINT NAME30PRINT NAME 1_2 (it goes to PRINT NAME 8_2)Hoping I have explained myself well enough. To summarize:Basicall
Can someone please help me with this question? I am using this code to expire the document on a specific day and year. What occurred to me and is the reason I'm asking this question, can this script be modified to expire on a specific day and year but also expire on any date prior and any date passed the specific date. Example, to expire on December 25, 2017. If the user tries to change their computer's calendar to, let's say, 2016 the document would still expire.This is the script I'm using and works ok, but I'd like to modify it to make it more difficult to bypass even if the user turns off "Enable Javascript" or sets their computer back.function Expire() { // Get the current date and time var rightNow = new Date(); // Setup End Date var rightNow = new Date(); var beginDate = new Date("March 21, 2016 06:15:00 AM"); var endDate = new Date("March 31, 2017 1:57:00 PM"); this.closeDoc(true) } } // execute check expiration code Expire();
I have two sets of radio button R1 and R2 and a check box......I want to function them as below:If R1 has two Option Yes or No so if one selects "yes" here and checks the Checkbox then the same "Yes" should be automatically selected in the R2 similarly if in R1 set "No" is selected then R2 should also be "No". Else if check box is not selected.. both Radio buttons can be independently selected .I tried it with the following script but it didnot worked:if (this.getField("Checkbox").value == "Yes"){this.getField("R2").value = this.getField("R1").value;}Thanks in advance
I couldn't find the answer so I gotta ask for help. I have a few fields that are populating when I click a check box. What I'm trying to accomplish is to show certain fields only when certain fields are populated. Otherwise to hide the fields when the fields are unpopulated. Is there a javascript that would help me do this?
Trying to create a form, where if they check "Yes" or unchecking of "Yes" would also erase/hide the "A_Comments" box.My issue is; if I uncheck "yes" the A_Comments field remains visible. Checking "No" does hide and blanks out any content.I have the following code on the "Yes":this.getField("A_Comments").display=display.visible;and this on the "No":this.getField("A_Comments").display=display.hidden"A_Comments" field has the following text Field Properties:Properties/General/Form Field: HiddenAny help would be appreciated.Regards,
I've created an editable pdf (timesheet) that performs calculations based on user input for each row. The calculations work correctly when opened via Windows Desktop but not on mobile for either IoS or Android. Any thoughts?
I am a single user mainly of the creative suite but also Live Cycle and Acrobat Pro.There are various 3rd party email mail merge programs (like PDF Machine Merge) but which, if any, Adobe product manages this process?JohnB
Hello, How can I execute the embedded javascript inside a pdf?I'm using the default WPF WebBrowser control to view a pdf. Here's the XAML:<WebBrowser Name="_web"/>In the .cs I do this to view the .pdf:_web.Navigate("test.pdf");Everything works great. The test.pdf has a javascript method called "IsComplete".How do I call the IsComplete method? I have Adobe Acrobat DC Pro installed.
Hi all,I have a question about compatibility between different versions of Adobe.Our development team has created a PDF form with extensive JavaScript logic using DC Classic Track 2015, a standard in our public service. We are planning to roll out the form to a large number of private companies who submit data to our Ministry using these forms. We had previously communicated that the offices would need to upgrade to DC, due to issued discovered with JavaScript compatibility with earlier (pre-DC) versions. We have questions about version compatibility, specifically between DC Classic Track 2015, DC Continuous Track, and Acrobat 2017. Is it safe to assume that forms created in DC Classic Track 2015 will be fully supported by DC Continuous Track and Acrobat 2017, and has Adobe made any promises / guarantees around this? I haven't found any clear answers online. The form logic is extensive and complex, and we are wondering if we need to give ourselves more time to run full test cycles on D
Hello everyone,I have been tasked to research ways to create a PDF document that has a drop down menu and when one option is selected from the drop down menu, then multiple fields throughout the document would be auto filled based on the selection from the drop down menu and unfortunately, coding is not really my strong suit. Another thing that I'm not too sure about is that the employees of my institution are wanting to email the PDF document out to our customers and then have the customers fill out the PDF document and then send it back to the institution. So would anyone be able to provide some input on the best way to create the described PDF document that would also not be an issue with emailing out to customers? Honestly, I'm not sure on how the email providers would react to receiving a PDF doc with a lot of Javascripting, if they would even react to it at all. I appreciate any and all input.Thanks,
01. Number pdf file names in a folder.02. ADD a number at the beginning of each file name but not change the original file name. examples: abc.pdf becomes 0001 abc.pdf; xyz.pdf becomes 0002 xyz.pdf etc.03. To make this less complex, add a 4 digit number (0001, 0002, 0003 etc) unless there is a way to fine tune the number of digits depending on the number of files in the folder.
I need my pdf to open on the first page regardless of the local Acrobat user's setting (Edit --> Preferences --> Document --> Open Settings --> Restore last view settings when reopening document).I have already set the pdf's Properties --> Initial View to default at "Open to page: 1"; however, on systems that have Acrobat configured as above, the file will open to the last page the user was accessing. I need the document to open on the first page no matter what.I've tried adding JavaScript --> Document Will Close --> "pageNum = 0;", but that doesn't override the local setting.Any ideas?Thanks,Gene
Hi, I have zero experience with Java script and only just figured out calculations in Livecycle before they shut down support & now our forms won't open - i've had to re-crate our forms in Adobe DC.I need to write a calculation, I have 3 number fields (Quantity, Price, Total)Item Quantity Price TotalBattery less that 35 batteries  
Hi, all.This is my 2nd day fiddling with java script and I would appreciate any help.Here is what I want to do... Add links on each page which opens an external PDF file in existing windowHere is the code-----------------------------var linkWidth = 36, linkHeight = 18;//get target PDF namevar myname = this.documentFileName; myname = myname.slice(0,1);var my_target_pdf = myname + " Section illustration.pdf";//do it all pagesfor ( var i=0; i < this.numPages; i++){var cropBox = this.getPageBox("Crop", i);var offsetLink = cropBox[2] - cropBox[0] - linkWidth;var linkRect2 = [602,linkHeight+550,linkWidth + offsetLink-32,550];var rhLink = this.addLink(i, linkRect2);app.openInPlace = true;rhLink.setAction("app.openDoc('" + my_target_pdf + "', this);" );}--------------------------------------It links to the external PDF, however it opens new window.Also my customer does not want to see security alert when the external PDF opens.So I don think I can use launchURL...Any
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.