Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
Hi all,I've got a question which is : I have data from a database, now I need to use the data to fill in a PDF form?To be more specific, for example, there are "name", "phone number" and "address" fields in my database, I want to catch these data to fill in an existing PDF form. The PDF form also has these three fields. I have no idea about how to implement in JavaScript. Really need some help.Thank you so much for any suggestion.Cheers,Max[ Mod: Duplicate of How to use external data to fill in an existing PDF form in JavaScript? - Locked this question ]
Hello, I need to create a PDF document that has a date that updates each time the document is opened. The document can be created in indesign, but the end user will not have access to indesign, therefore it has to be updated automatically in Acrobat. Thank you, Travis
Hi Adobe,I just installed the latest version of Acrobat DC 2015 - 2015.010.20056 and Ruler guides are still not visible when gabbing them from the ruler or moving them on the page.When will this be fixed?This was logged by one of your employees on the forums as bug back in July 2015 and then has been 2 updates since then. This is a big problem for those of us who use Acrobat on the Mac especially when checking PDF files for production.Please advise when you will fix this simple but glaring bug - please.
On Windows, this can be stored within the inFileNameW field of _t_PDFLPrintUserParams. On Mac, however, this field does not exist. Where then, should the name of the document be stored such that it appears properly in the print queue?Thanks
Hi there,Please can someone point me in the right direction or to some examples that may help.I'm trying to create a dialog that lists all the fields, on a given page, by field name.That list is then presented to the user who then chooses/selects items in the field name list.The script will then iterate through the selected list and then perform some style adjustments.I've manage to create the dialog, containing a list of field names.I'm stuck on how to pick up the highlighted items in the list in the dialog.Please can someone help.Thanks.function getPageFields(doc, p) {var fields = [];for (var i=0; i<doc.numFields; i++) {var f = doc.getField(doc.getNthFieldName(i));if ((typeof f.page=="number" && f.page==p) || (typeof f.page!="number" && f.page.indexOf(p)>-1)) fields.push(f.name);}var fieldsNew = "";for ( var i = 1; i < (fields.length); i++) { fieldsNew = fieldsNew + fields; if (i < (fields.length-1)) { &
In some of my company's applications, we open up the PDF via code and set the title as something more descriptive than the file name. This has worked for both Acrobat 9 and Acrobat DC. We're now looking to switch to Acrobat 2017, and it looks like for some computers it works (except the title disappears when focus is lost) and some computers the Acrobat will error out. Does anyone know a workaround? Below, the steps I can take to produce the error and the sample code that opens it upSAMPLE STEPSOpening a PDF via an application and set title (see sample code)View PDF Lose focus of PDFGo back to PDF (title switches to GUID)Close PDFOpening a PDF via an application and set title (see sample code) Get the following error Debugging I see Unhandled exception at 0x5F696E3D (Acrobat.dll) in Acrobat.exe: 0xC0000005: Access violation writing location 0x00000014. occurredSAMPLE CODE BELOW public static void OpenFile(int handle, string pdfLocation, string description) { var gAppClass = new Acroba
I open the debugger with cmd + J, type something like 3 + 7 into the console, and hit cmd + enter... all I get is an error sound.I have searched for an hour to find a solution to this simple problem. I see no reason why it should not just execute the darn code.Why is this so difficult?!?Running Acrobat Pro DC 2018 on OS X Sierra.
Hello, everyone;I'm looking for help with a PDF form that I'm currently working on. I'm using Adobe Acrobat DC to build it. There's a section that has 18 checkboxes and my client would like for it to be a "choose all that apply" scenario (so multiple checkboxes can by selected). The idea is, when any of the checkboxes are selected, a text field labeled "Specify" will then be visible so the user can fill in specific details; otherwise, if none are selected, the text field will be hidden.I've created if/else conditional scenarios that have individual checkboxes or even multiple checkboxes where the user can only select one but I haven't done it where it's a "select all that apply" scenario. I hope this makes some sense. I was looking into "for" loops for a minute but I wasn't able to follow it that much. I've seen the JavaScript necessary to accomplish this in HTML and tried to incorporate it but as I'm not that great of a JavaScript coder, trying to respect the differences between stand
hi can I create a link to a specific page of another pdf file?
Hello!I'm considering hosting a PDF somewhere and issuing programmatically generated XFDF files to several people at a time. I would like to know that this is not still an issue in 2018. Thank you!Stuart
I hope this isn't too weird a question, but I'm using an Arbitrary Mask for the time 99:99 so the user doesn't have to enter the colon themselves.However, I was wondering if there's also a way to include either AM or PM in that mask. I tried using 99:99 tt, but that simply added "tt" to the end of their entry.If not, it's fine, but it would certainly help distinguish from any loopholes.Thanks!
Hi Brothers and Professionals..I'm Trying to make a Nested for (for repeating numbers) into fields, I have 16 fields named as (SN1-SN2...SN16), i want the user to enter a Number like 20 and i want to Script to Continues Repeating this Number from 20 to 36 (as Example)..i write the following code into Button But when i hit the Button and Enter the Starting Number it Doesn't work at all, even no error message, its my first time to try Nested for twice so i don't know what is the problem, please help me if you can , thanks in advance:// Dialog Definition var oDlg = { strName: "", initialize: function(dialog) { dialog.load({"usnm":this.strName}); }, commit: function(dialog) { var data = dialog.store(); this.strName = data["usnm"]; }, description: { &nbs
Hi, I am very rookie with Java and need a form field to check a condition then return a value, my code looks like this:OnFocus:event.value = this.getfield("R_15b").value;if(event.value < 13){Event.value = this.getfield("R_18")}else{event.value = 0}R_18 is a calculated field and R_15b is an input field both preceding the event however when I tab to the field it seems to pause and run the script but the field does not populate.Please can someone assist in pointing out my error Regards
Goal: create javascript/Adobe SDK code that takes comments from one PDF and inserts them into another Nice to have: trigger this event from commandline, e.g. myScript source.pdf target.pdfIs this goal feasible? Is it possible to trigger this event without opening either PDF in Adobe Acrobat/Reader (if it's even possible to do this using reader only)?Much thanks!
This is my script.event.value = 0;var ProductMargin = this.getField(“ProductMargin”).value;if (ProductMargin = 0) event.value = 0;else event.value = this.getField( "MarginPlan").value - this.getField("NetMargin").value;And I am getting a SyntaxError: illegal character 2: at line 3. Can you tell me what is wrong? Thanks
Hi,I am thinking of getting Acrobat Pro XI and have never used it before. I am currently working with a number of Word documents that embed Excel spreadsheets and Letter tempates in them. Due to the nature of the embedded documents they can't be put on the web with a link and I cannot mess about with the documents too much. When I save the document as a PDF using Word I lose all the embedded files. Does Acrobat XI Pro let me do embedded files with in a pdf? If yes, can I embed Word and Excel files or do I have to convert them all to pdf? Also, if I convert Excel documents using this software does it retain formulas/macros/lists?
I have a form with multiple text boxes with defaulttext. Next to each text box I have a checkbox that starts out as not checked. When I open the form I would liketo see the default text in all of the text boxes, check off the ones that applyto a particular record, then have the default text disappear if not checked offafter saving the form. Any way to dothis?
Good Afternoon, I am working on making permit applications into fillable PDFs. My last hang up is our description dialog box. I have added a character limit to the box but would like away to inform people they reached the character limit. Is there a way to create an app.alert for this or another type of notification? Any input or help pointing me in the right direction would be greatly appreciated!Thank you!Paige
I can fill fields in a PDF using Excel VBA when I have Acrobat Pro installed however how can I fill the fields from Excel VBA if I only have Adobe Reader installed as I can't reference Acrobat Library in VBA.I need to do this however we only have limited Acrobat Pro's installed and I can't get it to work for users that only have Adobe Reader.I would have though there would be an answer to this however I have been search the net for days.ThanksGeoff
Hi Acrobat users,I need to finds all articles in any pdf document and highlight them as definite or indefinite.I have written the source code, yet something is not working when I compile it.Can you help me or clarify me where do I miss? Much appreciated for your time.Am I making wrong in array or variable declaration?app.addToolButton({ cName: "ArticlesCheckFn", cExec: "myArticlesFn()", cLabel: "Articles Check", cTooltext: "Run Articles Check"});var myArticlesFn = app.truArticlesdFunction(function(){var numWords;var bfound = false;var F = ["a", "an", "the"];var R = ["Indefinite article - A", "Indefinite article - AN", "Definite article - THE"];var Articles = new Array(F,R);var lowerpagelimit = 0;var upperpagelimit = this.numPages;var proglimit = upperpagelimit - lowerpagelimit;var progress = app.thermometer;progress.duration = proglimit;progress.begin();for (var i = 0; i < this.numPages; i++){progress.value = i;progress.text = "Processing page " + (i + 1);numWords = this.getPageNumW
I am looking for a smooth way of searching text, not just single words in a pdf document using the api. I am not interested in using the Search plugin. I have started to put together a function using the word finder and a vector of words, but I am a little surprised that it does not exist a better way of doing this. Or does it?
Hi, I have a text field called “customerBName” which by default is always visible and another two fields called “customerBAddress“ & “customerBTel” which by default are hidden.I need a script for the On Focus event on”customerBName” which will do the following:When the user clicks (or tabs) into “customerBName” then the fields “customerBAddress” & “customerBTel” become visible(but not printable).If the user then enters data in ”customerBName” and subsequently tabs out then the other two fields remain visible(but not printable).However, if no data was entered in “customerBName and the user tabs out then the other two fields revert back to their original hidden state.
can't retrieve my serial number
They are exclusive of each other. What I want is, if a value is entered in field A, make field B = 0 [or blank]. The problem is, if a value if placed in field C, then field B, which is not related go blank. Why? there is no other formula for that value.This is how I have the formula set up in each field. this.getField("TRADollar").value = "";this.getField("TRAPct").value = "";this.getField("Rothdlr").value = "";this.getField("RothPT").value = "";The calculation order is correct and listed as follows.
Hello, can you describe problem, why in my 3D object in 3DPDFscene, I cant disable double side rendering? In User Interfaceby Script allso not working. Im using "scene.renderDoubleSided=false;"Also i find problem when Edit some buttons in Acrobat DC in Acrobat X pro is problem with refresh text or buttons which appears/disappearsthank you for help!
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.