Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
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!
Hello everyone,I have no JavaScript knowledge so I need your help.I have a form with multiple fields (they where auto-generated when I had Acrobat detect the fields so the names vary but they should all have the same properties).I would like to change the format to currency ( "0.10" should be "$ 0.10").Could you please advise on the JavaScript code I need to use?I tried to google some solutions but nothing seemed to work.Your help would be greatly appreciated
I am attempting to export the meta-data about the files contained in a PDF portfolio. I am using the code below which I copied from this link.// code followsvar d = this.dataObjects;var csv = ''; if (d) { cfl = this.collection.fields.length; tx_cols = new Array(); tx_names = new Array(); for (i = 0; i < cfl; i++) { tx_cols.push(this.collection.fields.text); tx_names.push(this.collection.fields.name); } csv = tx_cols.join() + "\r\n"; for (var i = 0; i < d.length; i++) { tx_data = new Array(); for (var r = 0; r < cfl; r++) { tx_data.push("\"" + d.getFieldValue(tx_names) + "\"");// tx_data.push(d.getFieldValu
Hi,I would like to extract the first page each out of a batch of pdf files and store it in one separat folder on a Apple MAC.I've got the information, that there ist no action in Acrobat itself.May be someone knows something about an combination with Acrobat and the Automator program from Apple?Or, is there a Script for those doings?Thanks for help.Alfred J.
Is there a way to search all of the javascript in a pdf? For example, if I get feedback in the console about a specific variable, how can I search for that variable?
I am trying to write a custom calculation that adds 3 percent to a specified total when over 500 dollars if a credit card number appears in a field at the bottom of the form
I have a calculated field in my form that adds 30 days to a date entered into DateofHire. I need the resulting date to be the first of the following month. Ex: Using a hire date of 7/1/17 my script results in 7/31/17, I need to calculate it to 8/1/17. If the hire date is 7/2/17, the script results in 8/1/17, I need the field to go to 9/1/17. I hope that makes sense. Here's my current script:// Custom Calculate script for NewDate field(function () { // Get date entered into the DOH field var sDate = getField("DateofHire").valueAsString; // Convert string to date var d = util.scand("mm/dd/yyyy", sDate); // Add days to date d.setDate(d.getDate() + 30); // Populate this field with the result if (sDate) { event.value = util.printd("mm/dd/yyyy", d); } else { &nbs
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.