\n"; ?> http://acrobatusers.com/forum/227/feed en javascript http://acrobatusers.com/forum/javascript/javascript-10 <p>JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first-class functions. It is a multi-paradigm language, supporting object-oriented imperative, and functional programming styles.</p> <div class="og_rss_groups"></div> JavaScript http://acrobatusers.com/forum/javascript/javascript-10#comments Fri, 16 Dec 2011 22:54:51 +0000 KevinParmenter99 54689 at http://acrobatusers.com Calculating totals returning error if any cell is empty. http://acrobatusers.com/forum/javascript/calculating-totals-returning-error-if-any-cell-empty <p>I am using a Custom Script to total a column of figures.</p> <p>-------------------------------------------<br /> var f0=this.getField("txAmount0").value;<br /> var f1=this.getField("txAmount1").value;<br /> var f2=this.getField("txAmount2").value;<br /> var f3=this.getField("txAmount3").value;</p> <p>event.value=f0 + f1 + f2 + f3;</p> <p>if (event.value==0)<br /> event.value="";</p> <p>----------------------------------------------</p> <div class="og_rss_groups"></div><p><a href="http://acrobatusers.com/forum/javascript/calculating-totals-returning-error-if-any-cell-empty" target="_blank">read more</a></p> JavaScript http://acrobatusers.com/forum/javascript/calculating-totals-returning-error-if-any-cell-empty#comments Tue, 20 Dec 2011 23:31:07 +0000 kazoom 54720 at http://acrobatusers.com Install Javascript Samples http://acrobatusers.com/forum/javascript/install-javascript-samples <p>When I run "Acrobat SDK Folder-level JavaScript Samples Installation Script" I get the error: "Error retrieving user JavaScript path". I have checked and this "path" is supposed to the installed during installation!.<br /> I'm running win 7 pro with Acrobat X.</p> <div class="og_rss_groups"></div> JavaScript http://acrobatusers.com/forum/javascript/install-javascript-samples#comments Mon, 19 Dec 2011 02:23:51 +0000 NorthForty 54692 at http://acrobatusers.com Changing a text box based on a check box http://acrobatusers.com/forum/javascript/changing-text-box-based-check-box <p>Hello,<br /> I am trying to change a text box based on if a check box is checked, here's what I have in the calculate tab of the text box:</p> <p>if (CheckBox53.rawValue == 1)<br /> {<br /> event.value = "Fail!";<br /> }<br /> else<br /> {<br /> event.value = "";<br /> }</p> <p>This does not seem to work, does anyone have any ideas?</p> <div class="og_rss_groups"></div> JavaScript http://acrobatusers.com/forum/javascript/changing-text-box-based-check-box#comments Mon, 19 Dec 2011 18:26:51 +0000 mark4444az 54701 at http://acrobatusers.com Conditionnal date calculating http://acrobatusers.com/forum/javascript/conditionnal-date-calculating <p>I'm using Acrobat X Pro and looking for a date calculation script based on text fields.</p> <div class="og_rss_groups"></div><p><a href="http://acrobatusers.com/forum/javascript/conditionnal-date-calculating" target="_blank">read more</a></p> JavaScript http://acrobatusers.com/forum/javascript/conditionnal-date-calculating#comments Thu, 08 Dec 2011 22:56:16 +0000 The X 54598 at http://acrobatusers.com Acrobat Fillable Form Text Field : to accept text in Capital Letters. http://acrobatusers.com/forum/javascript/acrobat-fillable-form-text-field-accept-text-capital-letters <div id="post-answered"> Answered </div> <div class="og_rss_groups"></div><p><a href="http://acrobatusers.com/forum/javascript/acrobat-fillable-form-text-field-accept-text-capital-letters" target="_blank">read more</a></p> JavaScript http://acrobatusers.com/forum/javascript/acrobat-fillable-form-text-field-accept-text-capital-letters#comments Fri, 14 Mar 2008 10:12:58 +0000 pramod_kmr73 36307 at http://acrobatusers.com NEW to Adobe. How to sum fields plus a static number? http://acrobatusers.com/forum/javascript/new-adobe-how-sum-fields-plus-static-number <div id="post-answered"> Answered </div> <p>I've built a simple PDF for gaming that calculates stats. However one number is a static "10" that must be added to 4 or 5 user input fields. I know how to add the fields, but I can't get the additional "10" that I need to show in the "Total" field.</p> <p>I've never used Java and I don't know how to do this at all. Any help would be greatly appreciated. Sorry for such a "stupid" question.</p> <div class="og_rss_groups"></div><p><a href="http://acrobatusers.com/forum/javascript/new-adobe-how-sum-fields-plus-static-number" target="_blank">read more</a></p> JavaScript http://acrobatusers.com/forum/javascript/new-adobe-how-sum-fields-plus-static-number#comments Sat, 17 Dec 2011 00:12:09 +0000 akenefick 54690 at http://acrobatusers.com Prevent user input http://acrobatusers.com/forum/javascript/prevent-user-input <p>Hi,</p> <p>I use a text field which displays a pop-up menu on the mouse-down trigger to fill the field : this is OK.</p> <p>Now, I need the user to not being able to delete nor to enter any character in the field, how can I prevent that ?</p> <p>I guess that I need a custom keystroke script, so I tried it… but all my trials also prevent any input from the popup menu…</p> <p>Can someone show me the right way?</p> <div class="og_rss_groups"></div><p><a href="http://acrobatusers.com/forum/javascript/prevent-user-input" target="_blank">read more</a></p> JavaScript http://acrobatusers.com/forum/javascript/prevent-user-input#comments Fri, 16 Dec 2011 01:08:37 +0000 Merlin 54678 at http://acrobatusers.com How to create dynamic web url links using getURL http://acrobatusers.com/forum/javascript/how-create-dynamic-web-url-links-using-geturl <div id="post-answered"> Answered </div> <p>Hello All,</p> <p>I am hoping someone can help me with this. I am creating a script that searches for course codes and then creates a link to the registration page for each code found on a pdf document. The links are dynamic so I am passing the links in a string variable to the getURL method as follows.</p> <p> if ( ckWord == CourseCode[k])<br /> {<br /> console.println(ckWord);</p> <div class="og_rss_groups"></div><p><a href="http://acrobatusers.com/forum/javascript/how-create-dynamic-web-url-links-using-geturl" target="_blank">read more</a></p> JavaScript http://acrobatusers.com/forum/javascript/how-create-dynamic-web-url-links-using-geturl#comments Thu, 15 Dec 2011 14:53:10 +0000 Thusi 54669 at http://acrobatusers.com Copy then flatten previous page http://acrobatusers.com/forum/javascript/copy-then-flatten-previous-page <p>I don't know any javascript so if you can, please help me with a script.<br /> I need to make a button at the botom of the page, that does these things:<br /> - make a carbon copy of the page, after the existing one (just like Ctrl + drag in the Pages field) and then, flatten just that page, not the new copy that has been made.</p> <div class="og_rss_groups"></div><p><a href="http://acrobatusers.com/forum/javascript/copy-then-flatten-previous-page" target="_blank">read more</a></p> JavaScript http://acrobatusers.com/forum/javascript/copy-then-flatten-previous-page#comments Wed, 14 Dec 2011 08:56:47 +0000 buzzme 54656 at http://acrobatusers.com