Unlock the power of Acrobat SDK through our community.
Recently active
Hello Community!,Java Experience - RookieI have been trying to resolve this issue for a while now but cant get it to work. The goal is to have 1 page(template) spawn based on 4 checkboxes. If 1 or more of the checkboxes is checked then this page should be attached. I have tried different things but run into issues such as it spawns every time any checkbox is checked leaving me with several attachments instead of just the 1. I also need to be deleted when there are no checkboxes. The spawned page is informational so it doesn't have to be edited in any way.I tried using an export value to a hidden, locked text box and making the page spawn based on if that box was greater than 0 but it didnt turn out well. Thank you for your assistance.
I have a JavaScript submitForm function that does the following: this.submitForm({ cURL: addr, cSubmitAs: "FDF", bEmbedForm: true, bExclFKey: true });Where addr is a mailto: that includes ?subject and &body parameters. Works perfect for most users in-house. Sends the fdf just fine. However, random users cannot send and get the An error occurred while sending mail. message.My IT group is clueless. We have Acrobat DC Reader, Outlook 16, and Windows 10 Enterprise. All on a thin client.All the preferences I can see in the apps look fine, but I'm not IT and can't dig in too deep. Any ideas on what could possibly cause this? My IT group really has been zero help.
I am trying to get a text field (name) to equal 1 in another field when (name) field is filled in?
In our application, digital sign is added using signatureSign function in JavaScript. Until Acrobat XI version, this feature was working fine. But for Acrobat DC or Acrobat 2017, the reason was not displaying in the signature field. We can create custom appearances while using Adobe Acrobat application. Is there any way to include the "reason" in the signature field through JavaScript or plugins?
Heya everybody. I was playing around with one of my old docs and it uses the otherDoc javascript. Everything still works fine, but what I would like to add (to the button which opens the other doc), is to have the other doc opens but also opens to a specific page. I can't figure it out. Can someone help out with the javascript to make it work. This is a sample bit of script I'm using to open and transfer info from one doc to the other. case "WSPro": var myDoc = this ; var otherDoc=app.openDoc("WSPro.pdf",this); try {otherDoc.getField("daName").value = myDoc.getField("daName").value} catch(e) {}etc, etc.break;I want, when WSPro.pdf opens that it will open to page 5 when I select it from myDoc. But, will open to page 1 when opens when opening the WSPro.pdf directly. Thank you all for your time and help through the years.
Hi,Creating a form that asks an 'either or' type of question, and I'd like to be able to limit the user to check only one box. Is there a way to make the other box unavailable if the first is checked, but yet they can still change their mind choose the other (in the case of mistakenly checking one), it just unchecks the other box. I shared a snip below for context. Hopefully that makes sense. Thank you!V
So,what I'm trying to do...get a sum of several fields, but only if they are returning values, and if not, do not sumThe field I want to sum is populated by a dropdown menu...The fields I want to add to it are populated by different dropdown menus...End result is I need the field populated by the first dropdown to add or subtract a number depending on if other fields are returning valuesHere's all the script I have that run the documentI need RS +- ARS, ARSA, ARSB AndSize +- AAS, AASA, AASBCan anyone help??//-------------------------------------------------------------//-----------------Do not edit the XML tags--------------------//-------------------------------------------------------------//<Document-Level>//<ACRO_source>carddata</ACRO_source>//<ACRO_script>/*********** belongs to: Document-Level:carddata ***********/// Place all prepopulation data into a single data structurevar Carddata = { Jarl:{ AP: "3", &nbs
ok, so I'm trying to make a field be document level script based on whether it's the first/last field in a range of fields with a value. So "Field1" has charge code 8008 and "FieldA-G" has a $40. Then the FieldA and FieldG values should be calculated at 75% and the rest stay the same.Could possibly work like this in powershell. But i need it in JS$global:arrFieldsWithValues = @()function TrackField($field) { if ($field > 0){ $global:arrFieldsWithValues += $field }}if ($global:arrFieldsWithValues.Count -eq 1) { $Total = $global:arrFieldsWithValues[0] * .75}if ($global:arrFieldsWithValues.Count -eq 2) { $Total = $global:arrFieldsWithValues[0] * .75 $Total += $global:arrFieldsWithValues[1] * .75}if ($global:arrFieldsWithValues.Count -ge 3){ $Total = $global:arrFieldsWithValues[0] * .75
The New Zealand Judiciary have recently changed changed how they want documents numbered for court hearings. I have been trying to find out how to bates number using JS with no success so i am hoping you all can help.Basically what is required is that every document in a court bundle needs to be paginated. Easy. However the pagination needs a prefix to also reflect the (printed) volume number the document is in. Which is fine i can do each volume separately but i was hoping for a more automated approach. So for example the bundle might be paginated likeVolume 101doc one is paginated 101.0001-101.0250doc 2 is paginated 101.0251-101.0300, Volume 102doc 3 is paginated 101.0301-102.0400doc 4 is paginated 102.0401-102.0599Volume 103doc 5 is paginated 103.0600-103.0700My current method is to combine the documents into pdf files for each volume (named as the volume number), then bates number using Adobe's Bate numbering function and manually insert volume number as a prefix. What i was hoping
How to create a button, by pressing which form data is exported?Thank you.
I am doing a simple opening of a PDF and get the exception above.AcroAVDoc AdobeDoc = new AcroAVDoc();AdobeDoc.Open(file_path, "");It fails only when i try to open a digital signed PDF. Any ideas why i get this error or how can i open the signed PDF-s? Thank you.
Hi all,I don't actually know how to write brand new code in JavaScript and make it work. I've benefited tremendously by having a basic understanding of what I'm doing from a VB class I took in 2005 and from forums like this allowing me to cobble together pieces to do what I'm trying to do. I'm stumped with this one.I'm in Human Resources. We have a form that people use to request temporary pay increases with a start and end date. Because of the idiosyncratic systems we use, I'm using the following to calculate the number of work days between the two dates to convert them into pay periods of 10 work days. Holidays are irrelevant to these calculations as they are still considered in the pay period. We have 26.1 pay periods per year. I need the number of pay periods to correctly calculate the extrapolated salary that a temporary pay increase would be over the 26.1 annual pay periods.The calculations work exactly as they're supposed to. Or they were...until we started getting into temporar
Is there a way to write a script that will allow a button to print specific pages when clicked? Noot consecutive pages, however. The user has to print out the application on page one, but may only need to print pages 3, 5 and 8 after that. I don't really know Java, so any help is greatly appreciated!
Hi all! I need help!Ideally I want to be able to calculate the months between DOB and IFSPDate, into months (rounding down if between months (i.e. rounding to 11 if 11.5). I then want the selection of months to populate three different fields with a paragraph of information. For example:DOB: 12/01/2017IFSPDate: 06/13/2019The following fields would then populate:CAMonths: 18SocialSkillsCA: Snapshot of 18 month old children in this area: Children are using words more often to make requests, comments, protest/refuse, greet and respond to others while maintaining eye contact as they interact socially. Children are now often found playing near each other with similar toys. They may bite, hit, scratch or pull hair if overwhelmed and unable to express this frustration with words. Pushing limits, saying ‘no’ and tantrums are all part of children’s development at this age. They may express more complex emotions such as fear, sympathy, modesty, guilt and embarrassment through facial expression a
Hi,How do I get rid of renderable text in pdf in Action Wizard? My annotations are already flattened but still searchable. However, I don't know how to make them nonsearchable. I am using Adobe Acrobat Pro X 10.1.16 on Windows 7.
Hi,I need to work with document level javascript form which was created by acrobat dc professional. But I'm currently using acrobat standard 2017 which document level javascript is not available. Is it possible to retrieve document level javascript in acrobat standard 2017? Thank you!
Hi.Is there a way to list and/or count all attachments in a PDF file?I'd like the output in the Console or in a text file, it's for files comparison purpose (they contain dozens of attachments).Thank you.
Hi,I want to highlight selected text in Acrobat Pro DC.I am using gApp.MenuItemExecute("Annots:TextEditMenu:HighlightNote") which is working in Acrobat Pro 8 but not in pro DC.Please help me to understand how can I do this using script.
Hi,My PDF has a Form field, which gets populated with the current using below document script.var f = this.getField("Today"); f.value = util.printd("mm/dd/yyyy", new Date());It works fine in our desktop version of the Acrobat reader. However this script is not running in Samsung Galaxy S4.From the other posts, I understand that acrobat javascript has limited/no support on android.Please advise the possible next steps?1. Does any specific version of android operating system or any specific version of acrobat reader will support this script execution?2. What are the potential alternatives to set the date field to current date in PDF without using acrobat javascript?
Hi,I'd like to create a script that would save the main form (page 1) when completed as a new page with the Field ''date'' and field .time'' as the reference.The form will be filled twice a day and the pages would be added in the same file for the whole month.I would probably also save as Flattenfields() to protect the information added on each forms.June = page 1 (Empty Form)page 2 (june 1 - 6h30)page 3 (june 1 - 10h30)page 4 (june 2 - 6h30)etc....Search everywhere, but i couldn't find anything on saving the form in the same file (add page)ThanksMike
I have an interactive form created on the Mac, the form would be filled by hundreds of people on an iPad. The form works well however, I need a save button to save the form to the folder on the iPad or to the Document Cloud after the user would finish filling it. Currently Acrobat DC gives me the chance of running a menu command as shown below which will not function on the iOS.If its for me I know how to go a bout tap the "Share a Copy" button within Acrobat on the iPad, however for many users they will be lost, hence I want to simplify their experience by leaving them a "Save" button.Is there a chance of having a script from you guys?
Hi together,Is it possible to make personalized Watermarks in Acrobat Pro?I have a list of NAmes, and I want create with an action N pdfs which all have a different watermark. The watermark should contain a name of the listThanks in advance.
I am trying to use the below java script to identify the blank required fields. If they are complete, I want the electronic signature field visible, otherwise stay hidden and display the required fields. My issue is with the signature display part in bold.if (requiredFields.value == not null) { this.getField("Requestor Electronic Signature").display = display.hidden; app.alert("Error! You must fill in all required Fields:\n"); } else { this.getField("Requestor Electronic Signature").display = display.visible; } var requiredFields = new Array();for (var i = 0; i < this.numFields; i++){var fName = this.getNthFieldName(i);var f = this.getField(fName);if (f.type!="button" && this.getField(fName).required && (this.getField(fName).value == null || this.getField(fName).value == '')){requiredFields[requiredFields.length] = fName;}}var error = "Please complete
hi, I'm using bellow script. my issue is if i do calculation separately with round up, result is not same. so i want edit my script get roundup total like bellow. event.value = (this.getField("Tax").value / 100) * this.getField("M0").value;event.value = (event.value <= 0)?"":event.value;"Tax" field - 8.25%"M0" = (J0 +K0 +L0)so i want to do calculation like bellow.(J0 * 8.25/100) = Result round up to two decimal places(K0 * 8.25/100) = Result round up to two decimal places(K0 * 8.25/100) = Result round up to two decimal placesAnd get total off above all 3 values.Hope my explanation is clear & some can help me. thanks..
I am trying to create an action that will place the standard Acrobat “Approved” dynamic stamp in the same place and same size every time the action is run. I am having a hard time finding the stamp. I have tried using the code below but I'm just not getting a return that gives me the right information to add to the script. app.getPath("user", "stamps"); // Show location of custom stampsapp.getPath("app", "stamps"); // Show location of built-in stampsThis will need to be shared among several users, so the script needs to pull the stamp from each user’s computer. Is this possible and how can I achieve it. Below is exactly what I need, except I need to replace the arrow button with the Approved stamp. It needs to be the dynamic name/date/time Approved stamp. Thanks in advance.Tina var inch = 72; for (var p = 0; p < this.numPages; p++) { // Position a rectangle (.5 inch, .5 inch)
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.