Unlock the power of Acrobat SDK through our community.
Recently active
Hi, New here and to Javascript too. I'm looking to create a 'submit' button on a form which interrogates the form for the email addresses and populates the To address with 1 email and the Cc address with 2 emails from the form. I've managed to get it working partly but am struggling to get the second cc email address to be included. Code so far below (without the third email field name which is "Line Manager's email address"). var cToAddr = this.getField("Staff Email 2").value;var cCcAddr = this.getField("Area Admin email").value;this.mailDoc({bUI: false,cTo: cToAddr,cCc: cCcAddr,cSubject: this.getField("First Name 2").valueAsString + " " + this.getField("Last Name 2").valueAsString + " " + "LDR Report" + " " + this.getField("DateField_af_date").valueAsString,cMsg: "Please find attached your LDR Report.\n" + "Save the form for your own CPD records."});
Hi all. Is there a way to automate (e.g. JS button) the process of extraction from table in pdf (entire pdf layout is created in Word, than saved as pdf and made fillable with Acrobat) to designated cells in Excel, where the table layout is different from the one in pdf?Something like; first table field (top left) in pdf is text field named "Text1" and its' value has to go in C5 cell in Excel spreadsheet and so on. Any help and guidance is much appreciated.Thanks
What does the blue shield icon mean? (It seems to be disabling my 'organize pages' tool.) - I saved the pdf to my desktop. -Version that I am currently running. - tool that is being disabled/ missing. -Other pdfs. on my desktop that don't have that blue icon seem to have the organize pages tool.
I'm paying a montly fee to use a tool that consists of slapped together framework tools and helpers (NodeJS.exe and tons of other nonsense) constantly running in the background of my VPS desktop environment, eating up valuable resources, instead of a single application that does the task it's supposed to do whenever I start it up. All this nonsense just to be able to stamp a "signature.png" onto a PDF to prevent printing, signing, scanning and shredding. It's just horrible. I'm switching to something else as soon as I find a viable replacement.
I have a numeric field in a pdf file that needs an If Statement which will do the following: IF Field A is greater than Field B then display the number from Field B in this Field C. Can someone help me to do this in javascript or is there an even easier way?? Your help would be greatly appreciated.
Background:We are an agricultural company that is finally going paperless. We have a requirement from HR, to get all of our I-9s, W-4s, employment applications, health insurance forms and banking forms digitized.I have created all the digitize forms in Adobe Acrobat DC (version 12), with all the check boxes, radio buttons and signature/date blocks required.HR will be using a Microsoft Surface Pro 3, with a connected Wacom Intuos Pen & Touch, small (CTH-480) to sign documents. Problem:Currently, when I click in the signature block, Adobe brings up the Sign Document dialogue box and in the Sign As: dropdown box, allows me to select New ID...If I select the option for A new digital ID I want to create now, I can go through the whole setup and create a new "digital signature."This isn't what we want.I want to be able to click the option for a new digital ID and be able to actually sign the document electronically, from the Wacom signature pad. Question:What do I need (Software- o
Using acrobat x proI'm using a bubble like sheet where on top is a box to enter 0-9 then underneath are bubbles(text fields. I am try to say if enter 1 in the box then bubble field 1 is black filled. If 2 then bubble field 2 is black filled.... so on and on... can anyone help?
I have a need for the following.A date field (FieldA) needs to be auto populated on the current date when the signature field (SignA) is populated. I wrote this code to accomplish this, and its placed in the Custom Calculation Script in the date field (FieldA). It works.event.value=(this.getField("SignA").valueAsString=="")?"":util.printd("m/d/yyyy",new Date()); There are 4 different signatures requried on this field, hence all 4 will have the same requirement.However, I did not take into account that the form will be signed on different days. Once the first date is populated after the first signature, and a day(s) passes, when the form is modified, it recalcuates and updates the already populated dates to most current. I want to lock the date once SignA is signed and FieldA is calculated for the first time, with no further updates to that date. I hope this makes sense. Thanks,
If I enter a number in the drop-down list, it will be displayed as text in the field. Is there no choice but to create another field and use it to convert it to a number ? Is there any way to solve it by entering the formula in the dialog of the dropdown list ? When migrating data with FDF, I am having a problem that the destination field that is set as a numerical value is not read. And are the available methods Number(), parseInt(), parseFloat()?↑↑↑I'm sorry. Above is insufficient information. I can format the dropdown list with numbers by my Acrobat pro DC. However, it seems that the Chinese person who uses this file is the Chinese version, and he says that Chinese version does not have an official setting in the drop-down list....
Dear All, I bought and installed recently Adobe Acrobat Pro DC version 2019.021.20061 and it's working fine. I still need please to store .js files for my won functions but I could not help finding where to store them? In the Pro version, I used to store the .js files under C:\Users\{your username}\AppData\Roaming\Adobe\Acrobat\10.0\JavaScripts . Best regards
I have a form with two date fields, "certDate" and "expireDate" (both set to mm/dd/yyyy format). Once a date is entered into the first field, "certDate", the date entered into the second field, "expireDate", can't be more than two years later than the first date. It can be less than two years later than the first date, but can't be earlier than the first date. How should "expireDate" be scripted?
Hi all In interactive pdf forms is it possible to fill color in individual text fields basis certain criteria. For example i have a text field which automatically fills a number basis conditions in a checkbox.now i want this field to change colour also at the same time. For better understanding please see below: Text field - Score1check box1 for now i have set the below script to get the desired value in Text field Score1 when the check box is clicked if (event.target.value != "Off") { this.getField("Score1").value = "60" ; } else { this.getField("Score1").value = "50" ;now I want the text field to change colour to Red if i get 50 and to green if i get 60please note that it is important that Text field Score1 is made non editable and change in colour stays&
I have a form that is required to be filled out on a daily basis. At the end of the day, it is submitted to an email address (submission@example.com). The email subject line must be in the following format: 06.29.2020.Lastname, F I have three form fields: Date, First and Last. Date is obvious. First is a user's full first name, Last is a user's full last name. My goal is to pull the entire string from Last but only the first character from First. I have the following code in a Submit button on the form: this.mailDoc({cTo: "submission@example.com", cSubject: this.getField("Date").valueAsString + "." + this.getField("Last").valueAsString + ", " + this.getField("First").valueAsString, cMsg: "Attached is blah blah blah for " + this.getField("Date").valueAsString + "."}); Currently this will print out "6.29.2020.Last, First" I know I need to modify the "this.getField("First").valueAsString" portion, but I don't know how.I've tried:this.getField("First").charAt(
Hello,Is it possible to combine multiple PDF files into one PDF based on a key text as a parameter for the collation?I have 3 PDF filesFile 1: Cover lettersFile 2: Account statementsFile 3: Application Each file contains documents that correspond to different users. Each document is identified by a key text that is the user's code. The user code is always printed in the same place on each type of document.The combined PDF should show the pages following this scheme:Cover letter - user 1Account statement - user 1Application - user 1Cover letter - user 2Account Statement - User 2Request - user 2Cover letter - user 3Account status - user 3Request - user 3etc... Is it possible to do this with Acrobat? If possible, where can I get an example of how to achieve this type of combination?If it is not possible to do this kind of combination directly with Acrobat, any idea how it can be done using programming code? The files contain documents from hundreds of users and
I have browsed the forums and have tried some samples, but I can't make any headway. I have a numeric field on an form in Acrobat X that I want to be an average of several groups of check boxes. For the simplicity sake of my test, I have three groups of 5 check boxes. For each group of 5 boxes, they have an export value of "1", "2", "3", "4" and "5" respectively. The first 5 have the name "Prop1", the second group is named "Prop2" and the third is "Prop3". If I take my numeric field where I want the average and go to the calculations tab and select "Average" and then chose "Prop1", "Prop2" and "Prop3", it works as long as none of the groups have a blank check box. I want it to ignore any group with a blank check box (where the value of the group would be "0" or null) and only average the groups that have values. For instance, if the group "Prop1" has the "3" check box selected, and the group "Prop2" has the "3" check box selected and the group
Hi together,is it possible to hide the first page of a pdf with a checkbox which is also located on the first page? Like kind of :"Dónt show me again". The first page gives the user the hint to activate JavaScript, my aim is to give them the possibility to check the checkbox to hide the first page with this hint.. Thanks in advanceLeo
You can store the files required for a custom stamp under your roaming profile, but i want to store them more centeral is this possible?
In Acrobate, I have a PDF, and in the PDF is an image. I am looking to be able to click on the image and have it populate an email template with JUST the image included (either in the body or attached to the email template). I know how to create a button and use submit form to get an e-mail template, but it only allows me to send the whole PDF in the email. I only want the specific image in the PDF to be in the e-mail..Can someone help me with this?
I have successfully created a new PDF and added bookmarks to it. I am trying to create child or nested bookmarks, but can't seem to figure out if this can be done using vba. The code I am using to create the bookmarks is;PDFPageView.GoTo (ws.Cells(irow, 1).Value)AcroApp.MenuItemExecute ("NewBookmark")x = PDBookmark.GetByTitle(LiquidPDF, "Untitled")x = PDBookmark.SetTitle(ws.Cells(irow, 2).Value)This works well, but really need to nest some of my bookmarks.Thanks,Dave
Is it possible to setup custom state model in Adobe Acrobat Pro 2017 that would allso work with the filter in the side bar? The sample code below from JS reference guide adds the state model so that the comment states shows it show up in the "Set Status". However it is not possible to filter according the new states in the comment side bar. Collab.addStateModel({cName: "ReviewStates",cUIName: "My Review",oStates:{"initial": {cUIName: "Haven't reviewed it"},"approved": {cUIName: "I approve"},"rejected": {cUIName: "Forget it"},"resubmit": {cUIName: "Make some changes"}},cDefault: "initial"});
I've been advised the data merge to the fillable form requires java script. I changed the excel data file to a txt file. This appears to merge into the fillable pdf form however only one line of a 400+ database. Can anyone let me know how I can import my database into a 2page Adobe fillable form? Desperately need to resolve this ASAP. Thank you.
I have a PDF form which has another pdf form as an attachment.,Idea is that if a certain criteria meets, user can open this embedded form and fill it out and save.Now I am stuck at "Please fill out the form. You cannot save the data typed into this form. Please print your completed form if you would like a copy for your records" in acrobat reader. I have changed the file type using acrboat dc to "save as other - Reader extended PDF - Enable forms fill in & save in acrobat reader, however nothing changes. I am using Acrobat DC version. Would really appreciate your help in this as i want the user to save the attachment within the form itself afetr making changes without having to reattch the document. If there is a way aroud it using a script, please assist if that's the case.
Hello.Basically, I have 120 fields and I need them to be displayed in groups of 30.So, there are 4 buttons:Fields 1 to 30 are visible. The others are hidden.Fields 31 to 60 are visible. The others are hidden.Fields 61 to 90 are visible. The others are hidden.Fields 91 to 120 are visible. The others are hidden.This works and does exactly what I want, but it is a bit laggy, taking a few seconds for each button to perform its actions. So, I tried to solve this in some way and arrived at the following "solution":I left the 120 fields hidden, and created new 30 fields to just display the information.Now, when clicking on the buttons, they do not hide/show, but exchange information between them, thus displaying only the 30 that I want, according to the button that is pressed.It worked, but it got even more laggy.And now, I'm out of ideas.So I come here to ask: Is there any less laggy way of dealing with this? Thanks.
Hi All,I have a reset button to reset the entire form. But when "pushed". It resets everything execpt the hidded/visible choices made by a YES/NO radio button choice. The YES/NO radio choices work as expected in regards to hiding/unhiding the fields.Can anyone assist me in clarifing why this is happening?I am using DC.Thank you,T
How can I roundup the answer to FieldA * FieldB to a product which is only 2 decimal points.FieldB is a decimal number .001931FieldA will always be a whole number with 2 decimal places.I am trying to get if the answer is 5.235 to be 5.24 or if the answer is 5.231 to be 5.23 The calculation will be used in a fillable pdf.
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.