Design the future of fashion, win Firefly Pro 👗✨
Unlock the power of Acrobat SDK through our community.
Recently active
We are using a pdf as a training document to test users on a web based process.We want to confirm that users have selected the correct option in the drop down field and if not show a validation to advise them to select to correct response.We need a custom javascript that reads the "Workflow" field and validates that the response selected is "Level 1 Rebuttal"Can anyone assist?The code we have tried isoptionObject.selectedvar x=document.getElementById("Level 1 Rebuttal").selected;optionObject.selected=true/falseWe have tried it as an Action on the drop down field itself as well as the "review form" button on the pdf and neither work if the selection has been changed but is wrong. it only performs the validation if the selection has not changed.
Hello! I have a pdf calculations form, based on a previous calculation table designed in Excel. Presently, the Excel file was changed by its author in an interactive pdf one, with formulas transposed in the Javascript language. The trouble is that the calculations done automatically in the pdf form (basic on the same inputs) generate some differences in the final results, comparing with the similar ones calculated in the Excel one. They are given in the pdf because keeping only the integers, rounding the medium / final values etc, based on the Javascript formulas. My question is whether / how could I solve this trouble, considering that the calculations from my excel workfile are quite complex and the reference values may not be changed. Thank you! Vladimir A.
HI,Any one can help to send any tutorial, script and how to do this POPUP Menu in interactive PDF file as INDEX tab.
I have a simple subtraction calculation (A-B=C) that worked fine until I designated these fields as either shown/hidden based on the response to a radio button. If radio button 1 is clicked, the fields for A, B, and C are "shown". If any of the other radio buttons (button 2 or button 3) are clicked, A, B, and C are hidden. Once I added this script, the C field no longer calculates. Can anyone help?
I am using Adobe Acrobat XI on Windows 10 Pro. The Add Text box appears to be at the right height, but when I click away, the text drops about 3/4 of a line lower. Problem just started today. Is there a way to adjust the location of the text box so that it is predictable?Thank you.-John
I was attempting to edit a form, but received a message to use Lifecycle designer, which I do not have. Although I am a Creative Cloud user, must I upgrade to this product? And, is there a way around this? Thank you!
Is there a downloadable PDF file for "Interapplication Communication API Reference" for version X or XI? I already have this document for version 8.0 of the SDK.
I have a PDF with bookmarks which all start with XXX NAME. I want to rename XXX to YYY.. I believe the solution is very simple using JS, however Im a coding noob. Can anyone provide the javascript for this 'simple' task?
Hallo, i've two simple inputs named "Text1" and "Text2". And javascript on unfocus from Text1.Javascript here:var text = "";var barcode = "";text = getField("Text1").value;barcode = getField("Text2");barcode.value = text;It's works fine. But when i fill Text1 with long number (16digits), Text2 becomes strange, by the table belowText1 goes to Text29203803018350709 92038030183507089203803018350708 92038030183507089203803018350707 92038030183507089203803018350706 92038030183507069203803018350705 92038030183507049203803018350704 92038030183507049203803018350703 9203803018350704
I need help with this. I have searched the web looking for this and haven't found a complete script and I don't know how to patch one together from multiple scripts. We are currently using a fillable PDF template form for all our inspections and have figured out how to use it from our tablets. I need to add a button to this form with a java script to lock the entire PDF so it can not be edited. Its okay if it is printed or copied, we just want to provide some level of protection from a customer accidentally altering a inspection report. I would like to make it so the button can be activated and deactivated with a password prompt for both occasions so techs don't have to constantly unlock after accidentally clicking the button. I don't know much about java other than how to copy it to a button in a PDF and select it as a mouse up to exec a java script. I would like to set the password as 123456 for the time being so I can easily find it in the script and replace with the password we wou
Guten Abend,vielleicht können Sie mir helfen...Wie kann ich den selben Text (per Funktion Text hinzufügen) mit einem Klick auf jede Seite eines mehrseitigen PDF (Adobe Acrobat Reader oder Pro)?Vielleicht kann mir geholfen werden...Vielen Dank im Voraus,EP
Hi,I have a PDF form which acts as an inspection report for a manufacturing process at my work. I am trying to digitise the report so they can use a tablet instead of hand writing and then scanning the documents into our system.I have a simple validation script which turns the entered text into red for certain values:function if (event.value=="WORN") event.target.textColor = color.red;else event.target.textColor = color.black;However i am not having much luck copying this script to all the text fields on the document (over 200 fields).I have tried the solution outlined in this thread: faster way to copy a validation java script into multiple fields, i have set a Document JavaScript called validateField, i have then put the following script into it:function validateField(){function if (event.value=="WORN") event.target.textColor = color.red;else event.target.textColor = color.black;}But when i run the JavaScript console it just adds validateField() into the Text Fields custom vali
In the older Acrobat Pro I could just select combine comments, in the new version I can't find that option. Thanks
We would like to convert pdf to docx / pdf to html using adobe acrobat via API.Is there any API support for the same?We would like to subscribe and integrate, if any.
I have a flat PDF (no Acroform fields). Just a flat PDF. Is it possible, via the API, to get a list of possible input fields? (Text fields, check boxes, etc.) This is what I want, only delivered via an API call (see link->): Automatic Field Detection in Authoring If the Adobe SDK does not do this, does anyone know of any API that does something like this?
I have an Adobe Acrobat DC form that looks through fields and sees if the user entered an IP address. If they did it throws an alert and tells the user where to find it. I'm having two problems: 1. When I run the function it seems to only work every other time. 2. I am attempting to use the replace function to mask the IP address but it is not working. It appears that the usrText in usrText.replace, line 29 returns, 'Undefined'.function IPAddress(lct){var ipRegExp = /\b(?:(?:2(?:[0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9])\.){3}(?:(?:2([0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9]))\b/ig; //RegExp to find IP Address'svar usrInput = this.getField(lct).value; //Get name of field set to run functionvar setClass = this.getField("Classification"); //Get current classificationvar arrayText = usrInput.split(" "); //Split the text into an array to find the IP Addressvar findIp = usrInput.replace(ipRegExp, "X|X|X|X|"); /
Hi There!I have a general understanding of Acrobat, but have not used the form tools very much.In a nutshell, I am creating an order form where the customer chooses their item from a drop down and in the next field they enter the quantity. I am wanting to have a totaling feature added to the bottom of the form to calculate the total quantity ordered for each item in the drop down list.Is this possible?Thanks in advance!
Hi All,Bit of a noob when it comes to JavaScript so any help for dummies would be greatly appreciated.I'm trying to configure my email submit button on a form.Current Script I have is:this.submitForm({cURL: "mailto:email1@hotmail.com?&cc=email2@hotmail.com;email3@hotmail.com;email4@hotmail.com;email5@hotmail.com&subject=TEST", cSubmitAs: "PDF"});I have to be able to add form fields (hospital & commencement are the field names) into the subject and also potentially the Body as well as some hardcoded text.Is there an easy was to configure this using that script?Thanks,Chris
I am not sure if this is doable or not, thinking about this the wrong way or i am just completely missing something. I normally like to try to figure out where i went wrong but this has gotten me stuck.I am trying to take the standard trim bookmark name function and make is user changeable to select what part of the bookmark is being changed via a popup question. I set up folder level. When i try to run in Adobe Pro 9.0 i receive "An internal error occurred" message. In console i receive "redeclaration of const TrimBookmark2:Console:Exec". Any help would be appreciatedfunction TrimBookmark(){ var Title = new String(bkm.name); bkm.name = cResponse; // bkm.name = Title.substr(0, NumChars); // bkm.name = Title.substr(-NumChars,NumChars); // bkm.name = Title.slice(NumChars,Title.length); // bkm.name = Title.slice(0,-NumChars); if (bkm.children != null)&
I have a box labeled HST and another for Subtotal.I want to perform a simple math calculation on the HST box, the result displaying in the Subtotal box.I want the user to be able to overwrite the Subtotal Box. This Subtotal box is included in the TOTAL Box calculation which is not to be overwritten.Thanks!
I am attempting to create a form for our seedling tree order form, and am running into a little trouble with calculating the proper total, as our taxation rates vary depending upon the method of shipment being used. I believe my end result can be created with a little help from a custom calculation script, but I have no experience with java script, and am hopeful that someone can give me an assist here.Already set up, I have:Two radio buttons used to indicate the method of distribution desired -Local Pick Up -UPS ShippingI have two hidden fields, in which calculations are run to figure the two tax values, one of which should be applied. (LocTax) and (UPSTax) I have fields to calculate the total cost for shipping (Ship Tot), for the sub total of items ordered (Item Tot), a placeholder for the tax rate (Tax Tot), and a Final Order Total (Order Tot) field, in which the sub total, shipping costs, and tax rate are added, and the final total displayed.My problem is with this last secti
Hello!Is it possible with a JavaScript code/Action to auto-populate fields in a fillable PDF with data from two different PDF files?More specifically, I am looking for a way to automate the process of filling out a W-2C tax form with data from two sets of W-2 forms. The first PDF file of W-2 forms contain the data for the "Previously Reported" column in the W-2C form and the second PDF file of W-2 forms contain the figures for the "Correct information" column of the same W-2C form. Each PDF file of W-2 forms can contain from 1 W-2 form to 150 W-2 forms.I've been able to automate the separation of the W-2C form with an action I created in Acrobat, but I was wondering if we could automate the process of filling out the W-2C's entirely. All the data I need is consistently provided in two PDF files. For example, the before.pdf and the after.pdf. What we do now is copy and paste all the values into the W-2C form and with 100 plus W-2C's that need to be done, it can take up a lot time.I am l
I am developing a new application and i am using the AcroPDF.dll active X control. On Windows 7 on my development machine the control works wonderfully. However when I deploy to Windows 10 the control is just blank. There are no errors or anything it is just blank. Adobe Reader is installed on both computers. Any assistance is appreciated. Thanks, Robert
Hi everybody!First of all thanks to you guys for your help!This place this so helpful and friendly for everyone. awesome Now to my todays problem I have to solve.Ive made an reset button which resets just some fields with the following javascript for every field:this.getField("***").value = this.getField("***").defaultValue;Now I have the problem that I have a checkbox which shows hidden radio buttons by activation.My problem is now that the Javascript above is also deleting the hiding property of the radio buttons.So What can I do to hide my radio-buttons again, do anyone have an idea? Tanks in advance and sorry again for my bad English
Hi everybody!I have the following problem and I hope that someone can help me.I have a three radio-button choice on my PDF-form (R1; R2; R3) and the third one should visible or hide back an drop-down list.So the code I made is making my drop-down visible, but when I´m choosing R1 or R2 after my R3 choice its not making my drop-down invisible again.Can anyone see my mistake and help me?Thank you in advance and sorry for my bad English if (event.target.value != "Off") {// box is checkedthis.getField("List").display = display.visible ;} else {// box is uncheckedthis.getField("List").display = display.hidden ;}
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.