Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
Hello,I have a situation where after running a process I have a folder full of pdfs. It can be any number of pdfs but the pattern is the same:Chapter1_tab.pdfChapter1_Text.pdfChapter2_tab.pdfChapter2_Text.pdfChapter3_tab.pdfChapter3_Text.pdfWhat I need to do is merge the _tab file with the _text file below it. Each pair of files is a chapter in a book. I don't need to do any further merging other than stick the tab at the front of the chapter. I do it manually now but I can have nearly 1000 chapters and tabs. It takes hours. Thanks in advance for any ideas.
Hello to everyone,I'm hoping someone can help me out here as I'm a bit stuck.I have a PDF that has multiple hyperlinks to documents that reside on a server.Next to each hyperlink is a check box.The goal is to print the documents that reside on the server based on whether or not the check boxes are checked off/ticked.Say there are ten hyperlinks, each with a check box next to them. I'd like the user to check off/tick whatever document(s) they want to print, then click a print button that automatically prints all of the documents that have a check box ticked.Is this possible and, if so, can someone please show me how to do it?I'm using Adobe Acrobat X Pro.Thanks,Chad
I would like to validate an email address using more than one specific domain name. My current code (which I found here) for validating an email address with one specific domain name is:(function (){var sDomain = "mail.mil";if(!event.value) return;var sEnteredDomain = event.value.split("@")[1];if (typeof sEnteredDomain === "undefined" || sEnteredDomain.toLowerCase() !== sDomain){event.rc = false;app.alert("Your email address must end with: " + sDomain, 3);}})();FYI: I am using this code in a PDF form.
I have an alert box setup in Document JavaScripts. When a user opens a PDF form, this alert box pops up giving them information. If they click ok, it closes the popup window and takes them to the PDF form. But the Cancel button does the same thing. I would like the Cancel button to close the popup window AND the PDF form. Is this possible?
Hello everyone! I have searched this forum for days and tried many things but cannot find a workable solution to my problem. My javascripting skills are novice at best.I have created a numerical free text box "NumberValue" and a dropdown menu "TextChoices" with 5 text choices (ie Text1, Text2, Text3, Text4, Text5). IF the user selects Text1 AND the previous numerical box "NumberValue" is >12 THEN make the "NumberValue" = 12. IF the user selects Text1 AND the "NumberValue" is <12 THEN make "NumberValue" = the users input. IF the user selects any other text choice THEN "NumberValue" = the users input.Any advice other than closing the program and walking away?
I have a field (Field1) that gets information from a calulated field (Field2) fed by three other section group fields (fieldgroupTotal-1,fieldgroup total-2, fieldgroup Total-3). Everthing works well. I want field 1 to only show something once all THREE fieldgroup totals have a number.var v = this.getField("Total_Score").valueAsString; if (v=="") event.value = "";else { var score = Number(v); if (score>=3 && score<=7) event.value = "Low"; else if (score>=8 && score<=12) event.value = "Medium"; else if (score>=13 && score<=15) event.value = "High"; else if (score<=0) event.value = "Not Started";}This Script works great, I just now need it to only work if all three groups have had an enterie inside of that group selected.
Hello!I am trying to combine two text fields and a check box value into a line of its own within a text field. Clients are able to select one of 7 color options (Check Box1), 1 of 200 text options (Message Number_01) and the location (Location01) for 1 complete product. There are 81 total products. I need these options for each product to populate on a summary page within a text field with the "Off" on the check box to remove that line. Each of these three options should concatenate onto one lineExample:PP012 Pink Message # 101 (25)PP058 Green Message # 25 (Wall 3)Here is the basic script I was trying to use:// Get the field values, as stringsvar s1 = getField("Check Box1").valueAsString + " " + "Message #" + getField("Message Number_01").valueAsString + "Location" + getField("Location01").valueAsString;var s2 = getField("Check Box2").valueAsString + " " + "Message #" + getField("Message Number_02").valueAsString + "Location" + getField("Location02").valueAsString;// array
Hi I want to do a search in a pdf file, I want to look for a name and then to perform the search I pull an ordered list of all the times that name appears. I did it with advanced search but the list is very confusing ... is there any code to do this?
We've build an Acrobat plugin with custom annotation handler which works fine. Now we're looking at reader-enabled plugin and it seems like methods like PDRegisterAnnotHandler or PDGetAnnotHandlerByName are not available in reader at all. Is it really so? Or is there any way to enable/use these methods in Reader plugin?ThanksJozef
I am looking for a way to lock all fields after input with a button, but not signatures and possibly signature date fields. Not sure, but I don't think the protect features need to be used for this.Our sales reps need to fill out the forms, but we would like for the customers to be able to digitally sign them, and before the sales reps send the docs to the customer, I thought it would be best to lock all the fields we don't want them to be able to (even accidentally) change.I found this thread here, Form - Lock fields after input but not signatures. from the LiveCycle forum, but need to do this in Acrobat Pro.
I received this request from an accountant. She has a PDF with tens of pages, each page is a different invoice, she wants acrobat to shuffle pages and sort them according to invoice number sequence.Is it possible to script such request? I couldn't find a way to do this with existing Acrobat tools.
I'm trying to validate a keystroke entry based on the text already entered. I can get the value before the change was made, but I can't figure out how to tell the value that includes the changes (i.e. I need to accept or reject the keystroke based on the entire updated field contents). I'm sure I've done this in the past, but I can't find an example of it.Is there an event property which shows the full value with changes included?
I've used functions in my forms for years and while updating one this year the functions that have worked for years don't want to pull. Is there a preference or a setting I've messed up that is causing this. I'm at a loss here, anyone?
Hi,I want to provide a link to a PDF file that should be opened inside IE11 (the download has got header parameter Content-Disposition: inline). When I click the link the document opens as expected in the same page and takes all space in the page.The problem is now, how do I navigate back from the PDF to the first page? I am using a touch screen and full screen mode (F11 - no navigation buttons, menus, etc. visible). The "swipe-left" gesture - which is usally used to navigate back in the browser - is overriden by PDF plugin and makes me navigate only inside the PDF. I would like to navagate inside the Browser to go back to the previous page. How do I do that?Best regardsAndreasPS: I am using Windows 7, IE11, latest Adobe Reader DC and a touch screen.
I've filled out the RIKLA pdf, emailed it using the application and IT BOUNCED.I've sent an email to RIKLA Support, nothing.How do I go about obtaining a RIKLA?I have a customer using DC and Reader who wants a custom integration built between the application and a 3rd party EDRMS tool.How do I go about actually calling someone to talk to them about this?There absolutely NO way I can find a number to call... on the entire site.*v. frustrated*RH
I have a PDF form that asks patients to fill in health questions from a tablet. Then we click a Send Email button. The button sends an email the PDF attachment, personalize subject and content:this.mailDoc({ bUI: false, cTo: "email@mail.com", cSubject: "Assessment for " + firstname + " " + lastname, cMsg: content }); //content is text containing data from the form as a summary.It works perfectly on PC but doesn't work on either Android or iOS. Is there a function that can do something similar for mobile? Any help is appreciated. Thank you
In previous Acrobat Versions I was creating a instance of the Acrobat Writer by the following code:Dim objAcrobat = CreateObject("AcroExch.PDDoc")after the update to Acrobat DC the above code creates the Acrobat instance and shows the Acrobat visible. In the previous version it was invisible.How can I create a Acrobat instance invisible.Thank youThomas
I have a PDF form that's gone awry; some check boxes turn black when printing, while others don't and there's no clear reason for this. Worse is that those black check boxes are completely black regardless of whether they're checked or not, so there's no telling whether they're actually checked.I've saved the scripts from the "All JavaScripts" option of the form, as the scripts work great, and now I want to load those into a new export (from InDesign) of the form. Unfortunately that doesn't work; none of the scripts seem to save in the new form. I'm guessing it's because they can't be bound to the proper fields due to them not having the correct formatting set yet.All fields are named logically as in "quantity-[product]" and "net-price-[product]", so I'm thinking it should be possible to run a JavaScript once (using an action set to a button press?) to set all fields whose names start with a certain string ("net-price" for example) to a certain format. Now that brings me to my problem:
Hi,Hoping someone with a better brain than me can help with this...I currently have some Java in an interactive PDF that shows field based on a calculation:var nResult = this.getField("Comp A total score").value;if ( nResult > 13 ) {this.getField("Result Average_CompA Not demonstrating").display = display.hidden;this.getField("Result Average_CompA Emerging").display = display.hidden;this.getField("Result Average_CompA Good").display = display.hidden;this.getField("Result Average_CompA Strong").display = display.hidden;this.getField("Result Average_CompA Exceptional").display = display.visible;}else if ( nResult > 10 ) {this.getField("Result Average_CompA Not demonstrating").display = display.hidden;this.getField("Result Average_CompA Emerging").display = display.hidden;this.getField("Result Average_CompA Good").display = display.hidden;this.getField("Result Average_CompA Strong").display = display.visible;this.getField("Result Average_CompA Exceptional").display = display.hidden;
I have a PDF form that has a submit button that sends a notification email using the javascript app.mailMsg() function. I need to use app.mailMsg() as the form is auto-saved to a company server as it's filled out and I just need to send a notification email using one of the form variables (the doc. number). I do not need to send the form.The form also uses a digital signature field to track who in the company is submitting forms. My problem is, if someone signs the document, the app.mailMsg() call ceases to work and generates the following error:NotAllowedError: Security settings prevent access to this property or method. Doc.subject:2:Field SUBMIT:Mouse UpI've managed to track the problem to the digital signature. At any point, before signing the document, if the submit button is clicked, it generates the appropriate email. Once the document is signed, security measures prevent the submit button from working. Is there a way to fix/workaround this issue?
I am running a mail merge to customize a pdf with an email address and URL for 150 different people. is there a way to have the form underline those two fields during the merge?
I have an excel spreadsheet which contains simple calculations but it seems not working on pdf fillable form with custom calculation script?can anybody help me to get rid of this issue?Actually, I am doing this calculation on a filed but don't know to achieve this figure result in field100*(1+25%)So, 25% field can be read-only or not visible but this will not calculate the result of 125?Here is the code I am using:// Get first field valuevar v1 = getField("pay rate").value;// Get second field valuevar v2 = getField("Text2").value;// Set this field value equal to the differenceevent.value = v1 * v2;I am hiding 25% filed as this will remain same and do not need to show.Here are excel sheet and pdf formI am attaching excel sheet and pdf file for reference.Thank You in advance!100*(1+25%)
I have used a series of calculations and a concatenation to build a string. I want to use this string to then retrieve the value of a variable that has already been set.Here's an example:function endValue();var returnVariable //variable for function to return - should have a value of "The Value I want in the End" when returnedvar example1 = "already";var example2 = "Set";var alreadySet = "The Value I want in the End";var concatenatedString = example1 + example2;//would have a value of "alreadySet"// here's where I'm lost. This sets the value of returnVariable to "alreadySet" instead of "The Value I want in the End"returnVariable = concatenatedString;return returnVariable; }I hope I've explained this well enough. I've tried searching for help, but I'm not even sure what I'm looking for.
Hello,I work in a company where graphic workflow use signed .pdf in routine.Our regulatory department needs to check the size of the fonts AFTER THEY ARE SIGNED.Before signature, the "modification" tool can be use to select and check font sizes within the pdfs.Once it is signed, we cannot access to this tool and can verify sizes of fonts.Is there another way to check it in SIGNED pdfs ?Is there another tool or a plug-in ?Or a specific way to create our signature to have this function still available after ?VERSIONS USED :Creation of pdfs : Acrobat 10 & DC on macsReview/font check : Acrobat reader and Pro XI on PC.Thanks in advance,S. JANDOT
I've having some trouble with either rounding or calculating (or both), values for a timesheet.I thought my coding was all correct, however it seems to be rounding UP.Example:Start time Break Finish time Total hours 8:30 15 mins 13:15 5.00 Total hours should be 4.50This is the coding I am using:var Break = getField("Break1").value;// startvar start = getField("Start1").value;var startArr = start.split(":");// finishvar finish = getField("Finish1").value;var finishArr = finish.split(":");//differencevar hourDiff = Math.abs(finishArr[0] - startArr[0]);var minDiff = Math.floor((Math.abs(finishArr[1] - startArr[1]) / 60)*100);if (minDiff.toString().length==1)minDiff = '0' + minDiff;var output =
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.