Unlock the power of Acrobat SDK through our community.
Récent
Hi, I have auto updating text field in my form second page. I’m updating first page field ”aa” & second page text filed auto updating..I have used bellow code to manage that..// Get field valuesvar one = getField('aa').value;// Build para stringvar para = "WHEREAS, pursuant to the transfer of the real property commonly known as " + one + ", by Assignee, Assignor wishes to assign and transfer all of its interest in the Lease Agreement(s) present or future to Assignee, and Assignee wishes to accept the foregoing Assignment from Assignor and assume all of the rights and obligations under the Lease Agreement(s) present and future;" ;// Set this field's value equal to paraevent.value = para;what I want is,I want to justify the text in second page auto filling text field.I want to bold “"WHEREAS,” text.I have already tried Ctrl +e option & it’s work. The issue is if I change first page “aa” value, second page auto filling text field, “Ctrl+e” all the settings automatically removing &
I need to use the same button icons throughout the PDF (around 12 button icons). How can I copy/save/duplicate icons dynamically on different pages? I mean some icons are changing according to user choices and eventually all of them should return to the initial state - this is the case when I want these icons to be copied from some "global" storage. Thanks a lot.
Is it possible to create an add-in within Acrobat DC? I have been looking through the documentation and have been coming up short. I would like to be able to create a third party window within the application.
Does anyone know the regular expression syntax used in the SearchRedactPatterns.xml file for pattern searching?
I am creating a medical referral form and would like some advice. My form has an area in which the service being authorized is to be selected via checkboxes. The user can select either Screening Mammogram OR Diagnostic Mammogram AND/OR Ultrasound (Screening must stand alone but Diagnostic can be bundled with Ultrasound if necessary). I’m using a Document JavaScript to control this, where the Screening box is automatically deselected if the user selects Diagnostic and/or Ultrasound (or vice versa). These three categories each also have three choices (bilateral, left, or right) and those are all controlled in the same JavaScript to allow the same OR-AND/OR configuration. Each group of three sub-choices have the same checkbox name, so that only one of the three can be selected (i.e. you cannot check both bilateral and right). Everything is working as intended up to this point, but now I’m stuck. I need the price we are authorizing to appear in a text box, pricing varies based on the check
I have created a digital pdf of a document that must be digitally signed. I need to run a javascript on the signatures. It worked yesterday. But now I cannot get the popup to show me an "OK" box to approve the javascript I have pasted in.
My client wants the ghost text to be light grey and centred, while the enter data to the black and left aligned.I understand how to enter the default text and change the colour for the two but not alignment.Here what I have// On Focus script:if (event.target.value==event.target.defaultValue) { event.target.value = ""; event.target.textColor = color.black; event.target.alignment = 0}// On Blur script:if (event.target.value=="") { event.target.value = event.target.defaultValue; event.target.textColor = color.ltGray; event.target.alignment = 1}
I want to give a lower and upper limit to the (PDF) file size that can be uploaded into a PDF form field. How can I achieve the same?
I'm creating a form for work and I'm trying to reduce back and forth questions between clients. The form I am creating has the user input their birth date in (Field A). I already used the following script to automatically calculate the age and put it in (Field B):event.value = "";var dobValue = getField("dob").value;if (dobValue!="") {var dob = util.scand("mm/dd/yyyy", dobValue);var today = new Date();// compute age in millisecondsvar age = today.getTime() - dob.getTime();// convert age to years ( millsec in sec * sec in min * min in hrs * hrs in day * days in year)// truncate to whole years and adjust for binary floating point errorevent.value = Math.floor( age / (1000 * 60 * 60 * 24 * 365.2425) - 0.005);}I'm trying to get (Field C) to show after (Field B) reaches every five years at the following values: 20, 25, 30, 35, 40, 45 and every year 50. It is important that the field only shows on the zero/five years, but remain hidden when the value is one through four and six through nine.
Hi!there is a pda with pasted picturesIt is necessary to combine them programmatically into a single pictureThis is perfectly handled by the Scan document functionAfter it is pressed, a new PDP is saved, where all objects are mergedrummaged all API, but did not find an analog of this functiondo not tell me, is it in the API and how to call it?
I have a 28x14 grid of form fields that are named "Hour.1.1" where the first digit is the row number and the second is the column number. I have managed to figure out how to sum across the columns using a document level function and a custom calculation script, but I can't figure out how to tweak it to sum across rows. The code that works to sum across columns is below. Please help!!!// document level functionfunction SumH(cParent){var nSum = 0;var oParent = this.getField(cParent);var aParent = oParent.getArray();for(var i = 0; i < aParent.length; i++){nSum += Number(aParent.value);}return nSum;} // end SumH function// end document level script// Custom Calculate script// use document level functionvar sum = SumH("Hour.1");// field value is blank unless sum greater than zeroif (sum === 0) { event.value = ""; } else { event.value = sum; }
I need to duplicate contenet into new page when I click on button "ADD";
I made a custom stamp that I have been using for a while, it has 7 inputs to type in and with pop up boxes. My issue is that I have never had it working properly and every time I go near the stamp button the popups for data entry appear before I can choose the stamp. It gets really frustrating.I have looked for many hours online but I can't exactly work out which part of the code I'm getting wrong. I worked out that I needed to get the stamp name from the code (which I've done) but I don't know how to meld the event.source.forReal code with my code! I also had the javascript calculations seperate for all the boxes with inputs but I've seen that its supposed to work much better if you only have one script.My attempt at adding the code together is at the bottom. If anybody can help me out and let me know where I've gone wrong I would greatly appreciate it.Regards Jeremyif (event.source.forReal && event.source.stampName=="#lyvn1KW9WUYWKxxaJXcLDA") {e
Hi,I'm looking to make two matching sets of radio buttons. That is:Set 1: yes/noSet 2:yes/noThat autofill each other so they always match (both ways, so you can change either set and the other will change as well). I've done the auto matching with checkboxes before, but those don't give mutually exclusive options. How do I capture both functionalities?Thanks in advance!
I am working on a form that contains a drop down box (titled Rep) for the user to choose their rep from. When the rep is chosen, another field (titled RepEmail) is supposed to populate with the appropriate email address.When you press submit, the form will be emailed as a PDF attachment to the email address that generated.I have had this work on two occasions. The first time it worked the first three times I tried it. When attempting to show someone how it will work, it didn't do anything.I reworked every field and calculation again and it worked. This time I was able to choose different names in the drop down and the email changed appropriately. I pressed submit form and it popped up the email with the right email address and attachment.I attempted to show someone... and it stopped.You can choose a name in the drop down, but nothing generates anywhere else.I know the JavaScripts are right since they did work once... why would they stop?I have the cloud Ad
Hello,I have no javascript experience at all; however, I learned by searching on the internet that I need to create a Custom Calculation Script on my .pdf form to get it to do what I want. I researched and attempted it myself and was unsuccessful.I have four fields created that are named:NumofCriteriaMetTotalNumofCriteriaPercentofCriteriaMetCPRatingScoreCurrently, I have a simplified field notation (division) in the PercentofCriteriaMet as follows: NumofCriteriaMet/TotalNumofCriteriaand it is working.What I am trying to do is take the number auto-populated from PercentofCriteriaMet and assign a value based on the range below and have the value auto-populated in CPRatingScore0.0 to 0.59 = 00.60 - 0.89 = 10.90 - 1.00 = 2Also, I don't know if it makes a difference, but I currently have the PercentofCriteriaMet and CPRatingScore field set to "read only"If anyone can assist in helping me create a working Custom calculation script, it would be much appreciated.Shelly
I have a form which I have created that has a custom calculation script that fills a text field with a different line of text depending on a selection from a dropdown menu. I have this working well but I want to know id there a way that I can make the text editable after a selection is made as minor details may need to be changed.This is my code:var v1 = this.getField("Dropdown36").valueAsString;var v2 = this.getField("Dropdown38").valueAsString;var val = "";if (v1=="limited") { if (val.length > 0) val = val + "\n"; val = val + "limited number outcome";}if (v1=="basic") { if (val.length > 0) val = val + "\n"; val = val + "basic number outcome";}if (v1=="sound") { if (val.length > 0) val = val + "\n"; val = val + "sound number outcome";}if (v1=="high") { if (val.length > 0) val = val + "\n"; val = val + "high number outcome";}if (v1=="outstanding") { if (val.length > 0) val = val + "\n"; val = val + "outstanding
Hi, I've got a form already made with a blank table that the user fills in. Sometimes the user needs more rows in the table. I'm wondering if there is a way to add a button to the bottom of the page that can duplicate the page (a blank version). Is this possible?Thanks in advance!
Hello.Is there a way (javascript) to get the name of a field or a button when you click on it and display it with app.alert?Thanks in advance for your advice.
Dear all, I want to import the annotation from a fdf file which includes 3d annotes. (the model is in PRC format)I am using a c# program to call the function retrieveAnnotsFromFile(doc). The texts are imported successfully, but the views are missing.But when I call the same function with JS within acrobat through button event, the function works fine, all texts and views are imported successfully.I was wondering if I need to do something extra for importing the annotes views with IAC.thanks and regards,
Hello there,is it possible to add row to a existing table in a pdf form with js, where each cell of the new row contains a form-fileds.thx.
Is there a good way to spellcheck and check grammar of a large batch of PDFs? I'm using the latest Acrobat CC. If there are reliable scripts or third party tools for this sort of thing that would be of interest too.
Last week, before updating to the most recent Adobe Acrobat, company drawings were printed on 11x17 paper. After uploading the newest version of Adobe Acrobat, those same documents now print on 81/2 x 11 paper. How do I get the program to print on what is correctly needed, whether it be either size paper?
I have a form with required checkboxes highlighted in red.I have successfully added javascript to remove this border from my text fields once filled in, by running a custom validation script, but this script does not work for checkboxes. Can anyone help me with a script to simply remove the red border of a checkbox, once checked? I am new to javascript, so a script and location would be wonderful. Thanks in advance.
I am trying to figure out how to paste into several form fields (at once) across several pages to allow for room to paste into without having to paste text in segmented blocks based on the size of each form field?ThanksChris
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Vous avez déjà un compte d'utilisateur ? Connexion
Pas encore de compte ? Créer un compte
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.