Unlock the power of Acrobat SDK through our community.
Recently active
Hi, I have minumal experience in Java/coding, but understand the basics due to some programming classes I've taken in the past. I'm making an order form that a customer can change the quantity entered and add it to their order with a Checkbox. There is a suggested quantity that will already be entered. I have managed to create multiple Text fields with a script to calculate the price(Total) that is activated by a Checkbox. Next to each Text field is the Checkbox that turns the field "Off" or "On". It works fine with one, but I have 7 and each time I enter a new calualation in a new, unrelated field, it randomely cancels out the some of fields above it. See below. All are checked, so all should have the Total price entered.I was originally using these scripts in each of the Total Text fields.event.target.value=this.getField("QTY ST NE").value*30; event.value = 0;(this.getField("Check Box1").value!="On")event.target.value=this.getField("QTY ST WPA").value*35; event.value = 0;(this.getFie
Hello Everyone, I'm using Adobe Acrobat Pro DC version to save PDF File as .txt file. Set objJSO = objAcroPDDoc.GetJSObjectobjJSO.SaveAs GetTextFilePath, "com.adobe.acrobat.plain-text" This worked very well until I received a scanned PDF file with page size 22inch x 27inch. It doesn't produce text file out of it. Anyone please suggest what approach should I take? I personally feel I should SaveAs pdf with scale of A4 size paper but again I didn't find VBA code to perform that. please help. 🙂
I have a form with 3 buttons:1. a button to check to see that all dropdown fields are not default value (also set to visible, but does not print)2. a Save button, which does 2 things (first, make all fields "read-only" and secondly open the "Save As" menu item (set to visible, but do not print)3. a button to clear "reset" form (set to visible, but does not print)My issue is, when I was testing the read-only javascript code, I saved the form, yes I realize not the same as printing, however, when I opened the saved form, all fields were set to read-only, as I wanted, but I also noticed that button #1 was not showing, which I thought was strange, but then I went though all of the properties of each button, but each buttons properties for display purposes were the exact same.So why would that first button not show when being saved, but the other two did?
I want to make bookmarks as bellow using Javascript.- Each bookmark has a same name as each layers in pdf.- Each bookmark has the following action. When the bookmark is clicked, the only layer with same name as the bookmark will be displayed.----------------------------------------------var layers = this.getOCGs();for (var j in layers){ this.bookmarkRoot.createChild(layers[j].name, "xxxxxx");}---------------------------------------------- I want to enter the following script into "xxxxxx". (cExpr augument of createChild method)----------------------------------------------var layers = this.getOCGs();for (var i in layers){ if (layers[i].name === bookmark.name){ layers[i].state = true; } else{ layers[i].state = false; }}----------------------------------------------This script expression is evaluated when the bookmark is clickedBut I
Hi - I've created a PDF Form with Acrobat. I'm automatically filling the form fields with data from a SmartSheet. I have some fields that I need to change the background fill color of depending on the content of the field, once filled. For instance, if the field value is "Green", I would want to change the background fill color of the field to Green, etc. Would this be a Custom Format Script? It seems like it would be. Can someone provide some assistance on what this code would look like? This is my first crack at using Javascript in Acrobat, so a bit lost. Here is my first attempt:var status = this.getField("Risk/Issue 1 - Status Color");if (status.value = "Green")status.fillColor = color.green But that results in the following error:InvalidSetError: Set not possible, invalid or unknown.Field.value:2:Field Risk/Issue 1 - Status Color:Format I seem to be stuck at the starting gate. Any assistance is appreciated. Tony
var d will not update when I change var f unless. Initially it works but any changes made to var f will not update var d. Thanks in advance for any help. var f = Number(this.getField("Text2").value);var d = (f * 60 + 1440);var s = this.getField("STOPDATE").valueAsString;var t = this.getField("Time3").valueAsString;if ((s=="")||(t==""))event.value = "";else event.value = d;
Hi everyone! I am trying to figure out how to copy a PDF document with multiple different watermarks. I have Adobe Acrobat pro. I found a code online (copied below), but when I enter this, the code only produces a 'COPY OF THE INITIAL FILE' and 'Doc COPY 01' but it does not create the additional watermarked files. Additionally, one line is appears at the bottom of the javascript code saying 'undefined'. If anybody has any suggestions, that would be hugely appreciated. Code: // ———————————————————————————————————————————————————————————————————————————————————————————————————— // ———————————————————————————————————————————————————————————————————————————————————————————————————— // ———————————————————————————————————————————————————————————————————————————————————————————————————— // // C R E A T E C O P I E S O F A P D F W I T H U N I Q U E W A T E R M A R K S // // // This script prompts the user to select a PDF // file and makes copies
Hello,I need a way to convert a pdf to xml , make changes , and convert back into pdf from xml using an api or sdk. Need it to be completely automatic with no user interaction any ideas??
I have RIKLA certificate for 32bit plug-in.I applied for RIKLA application three weeks ago for a 64bit plug-in certificate.(https://opensource.adobe.com/dc-acrobat-sdk-docs/devnet/rikla.html)However, no reply was received.I also sent an e-mail through Feedback, but there was no reply.What did I do wrong?What else should I do?
Windows 8.1 Laptop, Brother HL-L8260CDW, Adobe Reader DC ver 21.7.20099.454979I just finished a printing project where I provided 5.5x8.5 booklet sized single pages to a printer for a booklet sized Directory. I used Powerpoint to do the main portion, with Excel to do a second part. I have reset everything back to 8.5x11.0 Letter size..... BUT- When I use PowerPoint, When I do Print Preview of a letter-sized docusment with my Printer slected, it is fin. If I point to Abobe... I get a booklet sized image on the letter sized paper. If I select "Fit to Page", it goes to full size.- When I use Word (which i did not even use in the project).. Native Word - Brother printing is fie, but if I point to Adobe, the previw and printout is shrunk to booklet size on letter paper.- When I use Excel.... not problem!All three programs, and the printer, and Adobe are set to 8.5x11.0 Letter size paper... Help!
Can you please help me in finding Adobe SDK solution that can be used with python on Linux and can be hosted on cloud which can render pdfs (those which are considered as malformed by other open source pdf renderer like poppler but rendered by Adobe Reader on desktop) and convert them to tiff or other image format.
Hello, Sorry I am new at this, and still attempting to get my head around java code! I currently have a submit button that sends the form to an address with a ccd address, subject line and email body. I was wondering if I can change what is written in the body of the text depending if a check box has been ticked or not?
I am new to Adobe Acrobat Pro DC. I want to do several things.Firstly, convert a text string to proper (title) case.Secondly I want to have a field duplicate the value entered into another field.Thirdly I want to calculate the age of a person based on their date of birth and a given date (not based on today's date).
I created an Excel VBA script to create a table that is in the same format as a fillable tax spreadsheet. I would like to copy the cells from Excel to the fillable tax spreadsheet, but when I try to manually paste the Excel table into the Adobe PDF, it pastes into one cell instead of all the cells. How can I fix this? I have attached the fillable pdf and my Excel data. I would like to paste the Excel table into the large table on the second page of the pdf. Eventually, I would like to script this in VBA, but I want to know how to do it manually first. Thank you.
I created a form with check boxes. When I uncheck the box, I am unable to recheck the box. How do I format check boxes so that a box can be rechecked after it has been unchecked?
I have an email submit button on my form, I have auto filled the subject line and body of the email, I was wondering if there is a way to change the font size/ color of the text in the email body? Here is my current script: this.mailDoc({cTo: "Email Address", cSubject: this.getField("Text Field").valueAsString, cMsg: "Email body text "})
HiI am struggling to round down decimel numbers in fields to prevent the default to round up - ie: if I have 4 decimel places: 0.0000 and I type in 0.34567 - I need the field to round down the nearest decimel point: 0.3456 rather than the default of rounding up to 0.3457. Is there a way I can do this in acrobat?
Hello, Apologies for the stupid quiestion! Im very new at this! I have a peice of code that will let the user know that required text fields have not been filled in. the code is as follows: if(this.getField("Text Field 1").value == ""){app.alert("must be filled in");}else if (this.getField("Text Field 2").value == ""){app.alert("must be filled in");}else{this.mailDoc({cTo: "Email Address", cSubject: this.getField("Text Field 1").valueAsString})}; This works except it will not allow for an input of zero. This is fine on Text Field 1 as it should always be submitted as a 6 digit number, however on Text Field 2 it can be zero I have tried setting as a numerical text field although this did not work
I have a client that has requested a fillable pdf be both password protected against editing non-form items but will also flatten the forms on save (I currently have that function as a button fyi). I know the usual security settings causes flattenPages() to fail. Are there any alternatives I can run with javascript to achieve a similar result?Push come to shove, I'd also settle for a method that locks editing without offering the option to enter a password at all. I'm trying to keep the pdf as friendly as possible for potentially computer-illiterate end users, so special saving methods to flatten the form are out.Any tips are greatly appreciated! I don't usually use pdfs for anything other than sending artwork to printers, I'm a bit new to all of this.
Hello.I am currently making a PDF form for warranty issues on machines. I have 3 drop down boxes that autofill other text boxes with pre determined text. i would like to store the dropdown choice (name only) in another field so that you can see what warranty has aleady been done, is there anyway of doing this? Sorry i am quite new to this so apologies in advance!Thanks
Hi all,This is a fairly straight forward question, I've done a load of research into it with nothing concrete on why, or how to fix the problem.So, I'm creating an interactive PDF doc, and I'm using 'buttons' to create roll-over states that reveal an image when the cursor rolls over a certain element. (I have attached the doc in question to show what I mean). This seems to work, however on my machine the roll-over effect seems to flicker in and out as you move the cursor. It does not hold where it should. I have tried testing out on another laptop (a windows machine this time) and it still has the same problem.Is there something I am doing wrong in terms of structuring the buttons etc...?Thanks so much for your help!Lisletest.pdf - Google Drive
I have RIKLA certificate for x32 Reader plug-in and signin with it new build for x64 bit plugin failed to start in Reader. Should I request new certificate for the same but x64 plug-in?
Came across a bit an unusual situation using Acrobat DC - I'm trying to edit a PDF with text fields to fill out a form using Fill & Sign.Note: It's just a plain PDF, no Acrobat/other form fields highlighted.When I fill things out in English (or Japanese or Chinese or most languages) the text fields save correctly.But when I try to fill out something in Thai, the text fields disappears right after I close the Fill & Sign.Spent an hour with Adobe chat support but didn't get anywhere. My best guess is it has something to do with Thai font licensing issues.Has anyone come across a similar issue with other languages/fonts before? Is there a way to get around this?Thanks,Aaron
Does my version of Adobe Acrobat 9 Bate stamp documents?
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.