Unlock the power of Acrobat SDK through our community.
Recently active
I am trying to do an IF THEN Calculation in PDF Form. This is beyond my expertise with PDF. There are 3 fields. A1, B1, C1. If A1 is greater than B1, then calculate A1-B1 =C1. If A1 is less than B1 then C1 would equals 0. For example.A1 =24B1 =20C1=4 orA1=19B1 =20C1= 0 Can anyone help with this? Thank you
I am creating a C++ plugin where I want to secure and open a PDF file. The plugin will be creating will be a Adobe secured PDF, which only the plugin will be knowing the password to open and modify the security parameters of the PDF. This being the case, The plugin also controls the permissions of the file while opening the document using the VDocPermReqProc permReqProc, I need to modify the following things.The "security settings" displays the set of permissions based on the PDF file and not based on what permissions are allowed as part of the callback for the permReqProc. I need to modify this.Also, there is an option in the "Security settings" to change the security method, which prompts for user password. I need to either disable this button or change the behavior to say changing the security method is not allowed as the user will not be knowing the password. The hint I got from running through the SDK APIs is that I might be able to do this using a different P
I am creating a plugin where it creates and opens a secured PDF file. As part of opening the secured PDF file I am using AVDocOpenFromPDDocWithParams and specifying callback for the permissions. The other options for disabling the print and save, seems to work fine as part of the callback. However, I am unable to disable the email button by denying "'PDPermReqOprUIemail'' as per the logs this particular permission was never requested. Is this feature broken or am I doing something wrong? On similar lines, starring this document is also uploading this document to the cloud, how can this also be disbaled? Thanks in advance. params.usePermReqProc = true; params.permReqProc = pPermReqCallback; PermReqCallback(AVDoc doc, PDPermReqObj obj, PDPermReqOpr opr) { // Deny permission to enable the email button if (PDPermReqOprUIemail == opr) { return 1; } //Handle other permission request cases.... }  
I have 7 dropdown lists with custom text. I would like to some how populate the selections from these drop down lists (with the custom text) into a single text field in a list format. However would it be possible to exclude certain drop down list selections from being populated into the text field. Each drop down list has the following slections:" ", "N/A", "C1", "C2", "C3"When either "C1", "C2", "C3" are selected. I would like this to be copied into the text field along with the custom text.When either " " or "N/A" are selected. I would like these not to be populated into the text field.My Javascript knowledge is very limited so any info would be greatly appreciated.
Hi community, I am trying to redact my pdf using the following method, this.addAnnot({type: "Redact",page: myPage,quads: myQuads}); It can successfully white out the area that I want it to be redacted. But I wonder, is there any properties that can be used to color the area instead of white it out? Or can someone please share the related API document? Thanks:-)
Hi everyone! I'm not too hopeful about this one, but is there a way to retrieve a list of installed fonts available for use in Acrobat via JavaScript? Something similar to app.fonts in Extendscript? I know this can probably be done with a Java library like PDFBox, but I wanted to make sure there's no way to achieve this with JavaScript before I go down that wormhole. I realize this might not be possible though. Any push in the right direction is greatly appreciated. Thanks so much!
Hi, I hope you all are well and safe at this strange times.I am working in a form with a lot of fields to fill. Once it is filled the user should click a button to send the entire pdf form attached in an new outlook mail to an email address.I´ve been searchig the way to do that but the action buttons do not support a "send email" action, but they do accept javascript.Could you help me with a javascript code to do that? Many thanks and Regards Joan
I am currently building a scoring chart that can hold a max of 100 people. Each person is then graded on up to 8 criteria fields for a total score. However, when I used the built-in sum formula, it made my form lag and take around 10 seconds to click between boxes. So now I am looking into creating a button that once the form is filled out, the user can click the button to then calculate the sums of the 100 candidates' scores. So first of all, is this possible to create and will it help remove the lag? The list of boxes that need to be added for the first candidate are 11, 21, 31, 41, 51, 61, 71, and 81. Then the second candidate has 12, 22, 32, 42, 52, 62, 72, and 82. This goes on until the 100th candidate who has the boxes 1100, 2100, 3100, 4100, 5100, 6100, 7100, and 8100. Then the boxes for the sums are titled TotalScore1, TotalScore2, up to TotalScore100 respectively. I was able to figure out how to adjust a script to my needs in a previous form, but I don't know how to
Hi,i use Acrobat XI/Windows.- the methods used are app.trustedFunction. The script generates a pdf doc through the Adobe PDF printer to be used subsequently in the same script, however, despite seeing how it has been stored in the local folder, at runtime app.openDoc () does not recognize it as [doc object]: JavaScript Debugger console returns "Invalid location. The file or folder does not exist". The Adobe PDF printer settings allow you to display or not the printed pdf document. I have tried both ways. When it shows it, I try to select it with app.activeDocs, but it doesn't detect it either. I am being forced to break into two action button scripts with user intervention (so the script works correctly), when I want the process to be completely silent and unattended. I hope my question catches your attention.Thank you.
When using this script I get the error message when I enter in like 3 of the nine numbers I need,But if i do put in the afterward the 9 numbers the error message does not go away it stays. Also I tried using <= this ths a value reference in Javascrpt am I doing this wrongBank_Routing_number is formated as number var cNumString = this.getField("Bank_Routing_Number").valueAsString;if (cNumString < 9) event.value = " ";else event.value = "Bank Routing Number Must be 9 Characters"; Help would be appricated
when i am done filling out a form how do I permanently save it
Hello, Is it possible to type into a field that is set to autogenerate information from a selected checkbox? Example:I have four checkboxes on page one of myy PDF that generate predermined phrases into a field located on page two. I'd like to add an additional field called 'Other'. I want the user to be able to type unrestricted information into the Other field and have the information generated in to the field on page two. Below is the code I've applied to the field on page two. Is there anything I can add to get the desired results? var a="" if (this.getField("CB1").value == "Yes"){a="\u2610 Option One \n"}if (this.getField("CB2").value == "Yes"){a=a + "\u2610 Option Two \n"}if (this.getField("CB3").value == "Yes"){a=a + "\u2610 Option Three \n"}if (this.getField("CB4").value == "Yes"){a=a + "\u2610 Option Four \n"}event.value=a
How do I get a total number of check boxes? They are named:Check Box 1.0 - 1.9Check Box 2.0 - 2.9Check Box 3.0 - 3.9Check Box 4.0 - 4.9Check Box 5.0 - 5.9
I have a form i hand out to participants in our event, this form has a unique id field that is increasingly changing to identify a particular participant with their form number, i print this form regularly, instead of manually inputting the numbers each time before printing them, i need a way i can send the form to print, and it will automatically change the serial numbers (incrementally) per print directly from my acrobat form. Any idea how I can do this? Thanks!
Export a PDF to jpg in command line? any documents or url or video for that? please help. Thank you
EDIT: Nevermind. I got the PretonSaver app to work how I need it to. This issue is resolved. I'm using an Acrobat plugin called AutoMailMerge from Evermap to merge Excel data into PDFs and print them. The plugin developer says it calls a generic black box print command from the plugin and that the plugin has no control over print settings, yet when I try to run actions created with his plugin not all the settings stay the same as my last used print settings. In particular the "save ink/toner" feature is unchecked when running actions with his plugin, but if I manually print something with it on then run a generic print action from Acrobat the save ink/toner feature stays on. It seems to me this is a problem with his plugin, but he is insisting it is not.I tried buying a program called PretonSaver, which is an ink/toner saving program that sits between the printer que and the print dialog box from Acrobat (or whatever program you are printing from). You basically tell it what amoun
Designing a program to slim down paperwork.Dynamically creating a form to select which paperwork to combine.FROM FOLDER LEVEL SCRIPT:function addGenerateButton() { var g = myDoc.addField("Generate", ....); g.setAction("MouseUp", "myButtonAction();"); } function myButtonAction() { .... }How do I do this? Should I do this? Is there a better way to do this?
This is a very basic question about PDF form specifications. I discovered one feature.It is for making multiple copies of a field. It can use to create multiple vertical and horizontal fields.If I use it the new field name will be appended with ".1". For example, if I copy 3 fields "A",the original field name will became to "A.0" and new fields name became "A.1" and "A.2". Is this only just a way to distinguish field names?Or is there another reason? Because this looks like a sort of array.
I would need to put raw chemistry formulas in dropdown lists or values in scientific notation, it is therefore necessary for these two notations to access the superscript and subscript notations. CH4 is not CH4 and even worse when writing 1.7.103 and 1.7.103! Are there escape characters or encodings for the items in the dropdown fields? Thank you.
I don't know how to judge when the value of the field is Infinity.Is isFinite cannot be used ?If not, how can I determine it?
I'm struggling to work out a simple script to calculate the total cost after a specific number of units are added, but remain at base cost for the first 3 units. For instance:Cost of 1st Unit = $475 (Base cost.)Cost of 1st Unit + 2 Additional Units (Total of 3 Units) = $475 (Same cost as base cost.)Cost of 1st Unit + 3 Additional Units (Total of 4 Units) = $525Cost of 1st Unit + 4 Additional Units (Total of 5 Units) = $575etc. The Excel formula that gives this result is: =475+MAX(0,4-3)*50 Of course, that works in Excel, but not Acrobat. The JavaScript code I've attempted is: var ffcondo = Number(this.getField("FFCondo").value); var pgcountcondo = Number(this.getField("PGcountCondo").value); if (pgcountcondo == "") event.value = ""; else event.value = (ffcondo+(pgcountcondo-3)*50) <= 475 ? 475 : (ffcondo+(pgcountcondo-3)*50); Unfortunately, the results I get with that JavaScript code are unreliable. Sometimes the result is correct; more often
I have 100's of pdf each having different client name on the 2nd line of the pdf. I want to be able to rename the file name with that client's name. is there a javascript I can execute in action wizard or any simple way out? Thanks in advance.
I am trying to develop a plugin with same functionality on both windows and Mac. We have already integration key we got from adobe for windows , can i reuse it for Mac. Thanks
Hello I am setting these checkboxes programmatically in Excel and on first pass they are set. However when I reopen the document after saving they are not set. I was wondering is there a way to set them and keep them set the way I programmed them to be. Code adapted from:https://myengineeringworld.net/2013/10/read-and-write-pdf-forms-from-excel-vba.html 'All checkboxes to checkedobjJSO.GetField(strFieldNames(22)).Value = 1objJSO.GetField(strFieldNames(23)).Value = 1objJSO.GetField(strFieldNames(24)).Value = 1objJSO.GetField(strFieldNames(25)).Value = 1objJSO.GetField(strFieldNames(26)).Value = 1objJSO.GetField(strFieldNames(27)).Value = 1objJSO.GetField(strFieldNames(28)).Value = 1objJSO.GetField(strFieldNames(52)).Value = 1
Perhaps this is a basic question about an array. And I'm sorry, this is a question to all that how to write code as an answer. I have no experience writing code for arrays. I have read various descriptions about arrays, but I am not sure how to realize it with PDF in front of me. ==== I would like to know the following cases.The First PDF file has fields with the following contents. This is a list of equipment maintenance replacement parts.Parts to be replaced are lined up at regular intervals. Actually, there are more items both vertically and horizontally, but it is like this when simplified. There are over 100 pages. From left to right ("Field Name")Time Unit / Cumulative Time / Implementation Date / Part Name / Selling Price "TU1" "CT1" "ID1" "PN1" "SP1" "TU2" "CT2" "ID2"
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.