Unlock the power of Acrobat SDK through our community.
Recently active
Let me set the stage:text555 and text666 are sums of other fields.text130.8 is the product percentage of text666/text555 (in simplified field notation). The problem:When all values are '0' i get the message:the value entered does not match the format of the field 130.8I know that this means that i need a string for what to do when the value is '0', but i have been trying for 4 days to write and research one that will work and i CANNOT get it and I'm so frustrated! Can anyone help me? lol
Having an issue when creating a dynamic stamp. I am entering in a custom javascript and select that when creating my form on the dynamic stamp. When I hit okay, it automatically sets it back to "Field not calculated" instead of keeping my javascript. I even made an error at first and it called that out, I corrected it and it seemingly won't let me have that script be entered. here is what I am entering var cAsk = "Enter POI Number" ;var cTitle = "POI Number: ";if(event.source.forReal && (event.source.stampName == "#mH2CRwgU97QYytFkFHMANC")){ var cMsg = app.response(cAsk, cTitle); event.value = cMsg; event.source.source.info.exhibit = cMsg;}
How can I write a JavaScript utilizing the setAction method on 30 sets of fields with the same numeric naming convention?I often utilize a for loop to match fieldnames and set Acrobat JS methods, but I'd love to learn how to utilize a find/change regex method in this manner.I don't know if it's possible, but I'd like to match the "hover_\d+" field and run one setAction to show/hide fields, etc.In other words, the digit of whatever field hover is, would be the same as the rest of the fields 1-30.I'd love to be able to write it something like: "hover_(\d+)" ==> edit$1, copy$1, trash$1, etc. where I'm backreferencing whatever digit the boolean logic is finding in the name.match() code.I could write this out 30 times, easy—but am wondering if there's a quicker, cleaner way of doing so.Perhaps an array with just 1-30 and reference the array in the display script?Perhaps instead of focusing on the "hover field", focus on the numbers whereas the regex would be: /.+1/ - /.+30/; or som
Hi, For PDFs that have been converted from Word files, I'm investigating how I can extract footnotes. One approach I'd like to validate the possibility of is writing a search that looks for footnotes in the text (understanding that "text" is not a straightfoward concept in a PDF). I've been looking at:ADOBE PDF LIBRARY SDKAcrobat DC SDKfor scripting options. I'm wondering if I could first do a search for a number - e.g. 1 and then either determine the rectangle shape and relative offset to determine if it's a footnote reference; or if text properties are available, the superscript property (if there is one). If it finds a footnote reference, follow on to find the actual footnote content at the bottom of the page and extract that. Thanks
Hello, I am new to AEM forms and sites.My requirment is that read xml from a folder and copy the same file into CRX at locaiton /content/xml-files.Hence i followed below steps1.created a workflow which can read the file and copy to destionation folder. in this workflow, i have used process task between start and end.2. I gave my java class name under process task. and same attached here named WatchFolderTestWW.java3. I have configured the watched folder from AEM->tools->forms->watched folder configuraiton4. in this confiuration, i used same workflow which i have created for execution.5. but able to execute the java Test Case : 1. copy one Address.xml into WatchFolderTestWW/input folder 2. document will go to failure folder with error. package wkint.core;import com.adobe.aemfd.docmanager.Document;import com.adobe.aemfd.watchfolder.service.api.ContentProcessor;import com.adobe.aemfd.watchfolder.service.api.ProcessorContext;import com.adobe.aemf
Hello Adobe Geniuses! I have a group of radio buttons:Button 1Button 2Button 3The group's name is radioButtons I have a form field:myFormField If a user chooses Button 1, I would like the text in myFormField to change to "Button 1"If a user chooses Button 2, I would like the text in myFormField to change to "Button 2"If a user chooses Button 3, I would like the text in myFormField to change to "Button 3" How would I do that? Scott
I was in Acrobat Pro DC trying to align some objects and it wasn't working as I'd expected. When I hovered over it it stated distribute vertically (see screenshot, right side), but I'd come to know this as distribute horizontally by center point as in Illustrator (see screen shot, left side); what is up with this? Illustrator's model of the graphic icon the essentially the same (side-by-side objects insinuating 'things along a horizontal line' - with lines at their center points) seems accurate to me. Why is Acrobat ProDC calling this Vertical? Thanks for any clarification.
HiI have a weird issue with my acrobat plugin.Acrobat/my plugin is in a server.My plugin is loaded for some users ("Currently in Certified Mode" shows as No in Preference)but not for some users. ("Currently in Certified Mode" shows as No)Changing the option “Use only certified plugin-ins” doesn't work for those users.Acrobat License can limit loading thirty party plugin?Any idea on this issue? Thanks in advance.Jason
Hello, IT guy for a small company here. I'm attempting to use a javascript file to print a number in the bottom corner of each page of a document, then incrementally for each copy of the document. This JS works for 2 page documents but when I try to use the same code for a 3 page document to do the exact same thing it only prints the number on the first two pages //-------------------------------------------------------------//-----------------Do not edit the XML tags--------------------//-------------------------------------------------------------//<AcroForm>//<ACRO_source>Print:Annot1:MouseDown:Action1</ACRO_source>//<ACRO_script>/*********** belongs to: AcroForm:Print:Annot1:MouseDown:Action1 ***********/var snum = app.response("Please Enter Starting Number","");var f = this.getField("Serial Number");f.value = snum;var copies = app.response("Please Enter Number of Copies to Print","1");if (copies == null || copies ==="" || copies === 0) {txt =
I'm sure there is a very simple explanation for this. Our business uses a Bill of Sale in pdf format for all of our dealings, recently its come to my attention there is a single line that is off in the calculation, and all I need to do is add one more field to the total cost calulation, but anytime I make ANY change to the file and save it, it no longer populates the Total amount of sale. I was making a simple javascript addition to the text box, to make sure it adds the sum of 6 different text box's to my total cost. But as soon as I add the +text field130 to the existing script then save, my last text field "total cost" no longer populates.I even tried just changing a random letter in the file and then changing it back to what it was, just so i could save the file. Once I did that, it still no longer populated. Help?
Hi there, on start up I am getting popup boxes saying another instance of distiller is running this one can not continue how do I solve this issue please - I get about 4-6 of these boxes
Hi Guys, I am very new to Java Coding and trying to do as much as I can without help.I have a form with multiple dropdown boxes, each dropdown has 5 options Strongly Agree, Agree, Neither Agree or Disagree, Disagree and Strongly Disagree. Each option is assigned a number between 0-4. All the boxes are then added to give a score which will give a discription. The problem I have is that the form is adding each field as I go and taking time. I want to add a button that you press when the drop down boxes have been completed to perform the calculation.The field the calculation will go in is called "Your_Risk_Score". Can some one help me with the last bit of my script to get the box. This is what I have so far:-var v1 = Number(this.getField("ATR1").valueAsString);var v2 = Number(this.getField("ATR3").valueAsString);var v3 = Number(this.getField("ATR5").valueAsString);var v4 = Number(this.getField("ATR7").valueAsString);var v5 = Number(this.getField("ATR9").valueAsString);var v6 = N
The quality of docx produced is exceptional compared to most.Is there an API available to incorporate this export feature in our application or can I run DC/Export as a command line command ?Appreciate any suggestions RegardsJan Urbanski
I have Acrobat Pro DCI have a problem in my current organisation which uses a very old fashioned HR system for recruitment. Our HR system compiles one massive report of all the job applications for a recent post: the pdf is 1700+ pages long, containing distinct sections (of variable length) for over 200 applicants.I want to split this into one pdf per applicant, with the filename of each document being the applicant's name.For each new application, a consistently formatted divider page exists as follows:Applicant : Smith, JohnVacancy ID : 15535The text 'Vacancy ID' only exists on these divider pages, so it can be used to identify where to split the document.The applicant's name, which occurs on a previous line, starts at character 10 and is variable length. In fact it can be acquired with getPageNthWord(page,3) and getPageNthWord(page,4)How easy would it be to create some javascript to run in an action which would do the following:Identify text "Vacancy ID"Split document at that point,
I have form of 12 rows, each with the following calculation in a field 'CD#Result' (the first two letters of the fields change per row). "A" is a single field and "B" is a total of three other fields, that when compared to A determines what is in 'CD#Result'. It works almost perfectly. However, I realized I have a problem if the user changes their mind. If they make any entry in A or any of the three other fields and then delete those entries, the Result field does not clear. I used the validation script to hide any 0 total in the 'CD#MoTotal' field to get a blank, but can't figure out how to do that in the Results field, or how to add to the calculation below. What I want is that if both 'CD#Expect' and 'CD#MoTotal' are blank, then the 'CDResult' should be blank too.TIA for your help! var A = this.getField("CD#Expect").value; // Expected Activity for period reviewed;var B = this.getField("CD#MoT
Hello, I'm needing help with how to perform an action on a PDF where it will change the action to open a web link to run a JavaScript to use the url bit, put app.launchURL(" infront of it and then ",true); after it.I think the code would be something likefor each link in document read in URL Store URL delete open a web link create run a JavaScript make the JavaScript = app.launchURL("URL",true);display message saying ta dah!!I'm not sure where to start with the scripting as I can't find a page that is helping to give an introduction. I'm okay with VBA but like I say not sure where to start with Adobe, any help would be much appreciatedThank you
I have a file that has serveral pages. At random intervals there are pages that have the words "PageBreak". Looking for a script that will search my file from the begining for the "PageBreak" then extract all pages before and including the pagebbreak, then continue through the rest of the file repeating that same process until all pages have been extracted to new files. I have attached a file. On the file pages 1 and 2 would be extracted to a new file, then pages 3-5 would be extracted to another new file and so on. can anyone help?I have looked through the community board and did not find anything that can help me with this.
I would like to know if there is a JavaScript to do the following - Drop down list = "Fact" or "Opinion"Next to each drop down is a text field called "Dislike1" which is a custom entry by user. (they write what they dislike and then use the dropdown to identify if it's a fact or opinion)If they select Fact for Dropdown1, I would like to replicate "Dislike1" in another text field. If they select Opinion, I would to replicate "Dislike1" into a different text field. The goal is to build a separate list for Facts and a separate list for Opinions, each on separate pages, without user having to retype their Dislikes. Since the lists would build, then the text fields would have to be variable (if they choose Fact 3x in a row, then those text fields go to the Facts page, then if they choose Opinion in the 4th row, that would have to be the first text field on the Opinions page). This may not be possible...but??? The preliminary form is linked below.Fact vs Opinion PDF Fill
Often whwn i try to open pdf files with Acrobat 9 that has been registered in 2013, the files are visualizzed al in grey. Can somone help me PLEASE? i have to open them always with Acrobat 8.
There's a preference "Use external JavaScript editor". For the life of me, I can't get that to work. I set it to a text editor, and Acrobat opens the right document into it. But Acrobat sits there hanging. When I save, close and quit the application, Acrobat still sits there hanging. I have to Force Quit every time. I've tried each of the editors I have laying around - VSCode, Brackets, Atom, LightTable... even TextEdit.Am I doing something wrong, or is this feature broken?
I have some listboxes whose items are filled in by a script and/or via a CSV. 1. I would like items containing "T*T" to appear at the top of the list, sorted alphabetically. (As this word is censored by the forum I wrote it "T * T", you can see it on the screenshot)2. I would like items containing "ADE" (and not containing "T*T") to appear next, sorted alphabetically.3. And I would like all the other items to appear after, sorted alphabetically. See screenshot: white list is the current, yellow list is what I want. Is it possible?
I want to create a Button to automate a task for me. When the button is pressed in duplicates the infomation that has been entered . So the form is filled in and TextField 1 at the press of a button populates TextField 2 .does anyone know the code to do this or could point me in the right direction on how to learn to do this?
Hi All, Let me start by saying I have very little experience using adobe and even less experience writing javascript code. I have a pdf form with many different check boxes on it, and I was asked to create a button that will allow the person filling out the form to do so via popups.For example, there is one checkbox for a statement that says something like "2+2=4", another that says "2+2=5", and a third that says "2-2=0". I would like to create a button that opens a popup which askes the user if 2+2=4. If the user hits yes, the check box becomes checked off. If the user hits no, the check box does not get checked off. Regardless of the users answer, I need another popup to open after the user imputs their answer into the first (and it disappears). So after the user clicks "yes" to "does 2+2=4", the checkbox will populate, the popup will close, and another popup will open and ask "does 2+2=5" (and then answering this question will do the same thing as the previous). And so on
Each time I try to update Adobe Pro DC (Mac) I get the message: error 104, try later.
Hello,I'm a total rookie with Adobe Pro and I'm trying to figure out how to add javascript to my fillable pdf form. More specifically, I have about 100 dropdown menus each with the same items to select: "1", "2", "3" and "4". I hoping there's a way to incorporate javascript to each dropdown menu that would change the background color depending on which item is selected. i.eIf "1" then background to redIf "2" then background to yellowIf "3" then background unchanged or whiteIf "4" then background to green Is there an easy way to do this? Thank you!
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.