Questions
Recently active
I have no prior experience in Adobe Script and need help solving an overtime issue. I have found how to add the bottom row easy enough. Now I need when the Reg Column totals to 40 I would like the time to roll over into the overtime column automatically. Not even sure if this is possible, but if it is, please help. The link below is our time sheet. Microsoft OneDrive - Access files anywhere. Create docs with free Office Online.
Does Acrobat SDK support support effective time control functions
I need to set a drop-down value based on the user ticking one of two tick boxes. How do I do this?
Hello,I'm trying to write a script to have one of four check boxes selected based on the value entered into a field. I have pasted a picture of the portion of the PDF that I'm trying to write the script. I want the "Grand Total" field to be the trigger so I put the following code into the custom validation script of this field.this.getField("unqualified").checkThisBox(0, (event.value <="23"));this.getField("marksman").checkThisBox(0, (event.value >="24") || (event.value <=28));this.getField("sharpshooter").checkThisBox(0, (event.value >="29") || (event.value <=35));this.getField("expert").checkThisBox(0, (event.value >="36"));I'm unsure how to write the code for a number range (i.e. 24 - 28; 29 - 35) therefore multiple check boxes are selected using my code. I need only one check box selected based on the "Grand Total" field.
Hello,how to check the date in this format dd/mm/yyyy in one field in adobe form is not less than current date and show app allert if the date is less than current?I read this:How to compare dates in Java? - Stack OverflowBut how can I use it in adobe pdf forms to check the start date is equal to today date, if it is less than today date then show me appalert message.I tried this:today.date = new Date();var sStart = getField("fill_9").valueAsString;dStart = util.scand("dd/mm/yyyy", sStart);if ( new Date() < dStart) { app.alert ( " alert"); } but it doesn't work.
Hello,i read the script on pdf is very bad. But when i run my script at the server is it also bad? second question , when i run my script on the client stay the code in the end-pdf?sorry for my englishthxregardsArthur
Hi guys,I currently have a fillable PDF with a field called 'Total Chargeable Amount'. This is calculated by the sum of 10 other fields, which are all named 'A_1' up to 'A_10'.This works fine using the built in calculation function, but I want the amount to be editable once it has been populated. I believe I need Javascript to make that possible.Can anyone tell me what I should put in the 'Custom calculation script' field to do this?Thanks!Tom
Does anyone know how to get ADOBE ACROBAT PRO DC Win 10 to actually SET UP?'i downloaded ithave a serial no.can't get it to actually start working.keeps getting 'interrupted' while installing.have error message 150410can ANYONE please help me?this has cost me 2 days and NO work is there any other PDF that works?i've had this ADOBE rubbish.
HelloI have a PDF form that has dropdown boxes in a column that has a text box at the bottom that I want to display a total sum based on the letter showing in the dropdown boxes. If an "X" is displayed in the dropdown box, then I want it to be counted and included in the total at the bottom. In the image below there are 4 "X's" displayed in the dropdown boxes and the total at the bottom of the boxes has "4". I want to add a javascript to the "Total Hits" field that automatically adds the number of "X's" displayed in the dropdown boxes. I will do the same thing for each Table (I, II, III, and IV).Can someone please help me with this?
I currently have this script running :var patternEmpty = /^\s*$/;var strMissing = "";if(patternEmpty.test(this.getField("1stpurchaser").value)) strMissing ="1st purchaser"; { // All is ok,submit the dataconsole.println("All form data ok"); }if(strMissing.length){// Got an errorapp.alert("Please complete 1st Purchaser: " +strMissing);}NEED this var cToAddr =" Pcardreceipts@ifas.ufl.edu";var cCCAddr =this.getField("Email").value;var cSubLine = " P-CARD FORM SUBMITTED FOR PROCESSING";this.mailDoc({bUI: true, cTo: cToAddr, cCc: cCCAddr,cSubject: cSubLine,});I want to merge script below into the above script or should it be written as one script and if any recommendations would be appreciated....?var cToAddr =" Pcardreceipts@ifas.ufl.edu";var cCCAddr =this.getField("Email").value;var cSubLine = " P-CARD FORM SUBMITTED FOR PROCESSING";var cBody = " Thank you for funding this purchase.\n" + "We Appreciate your support";this.mailDoc({bUI: true, cTo: cToAddr,
hello I have a signed and blocked pdf that has an attachment but the initial view does not open the window of attachments, I have to send that file to other people, my question is how can I generate a message to say that this file has an attached document?
PC, Windows 10, Adobe Acrobat PRO XIvar patternEmpty = /^\s*$/;var strMissing = "";if(patternEmpty.test(this.getField("1stpurchaser").value)) strMissing ="1st purchaser"; { // All is ok,submit the dataconsole.println("All form data ok"); }if(strMissing.length){// Got an errorapp.alert("Please complete 1st Purchaser: " +strMissing);}this is the script currently in use and is functioning as desired. I want to add an action that when the approver hits the submit button it will cc: the email address entered in the EMAIL field completed by the originator of the form?
Preface: I searched the Google and Adobe forums first, honest. Background: I made the world's coolest dynamic Acrobat JS app/pdf thing for this guy to create and complete dynamic reports using templates and such.Problem: Now I'm working on a web app (html, javascript, php, MySQL -- so far ... I'm willing to learn whatever I need to ... I'm also learning Python) so he and his employees can contribute anywhere/anytime from a desktop browser, phone, or tablet and then compile it into a report. Short-term, I'll create something so they can download some XML or other form data to import into the report -- a supplement to the existing PDF thing I've created. Long-term, I want all the building to be browser-based so they can just export a pretty PDF at the end.Question(s):I'd rather create my own, but is there an existing server-side app that does this? I thought for sure there were, but now I can't find them. My host/server is Linux.Ugh, am I going to need a more expensive dedicated server?I
Refinement to earlier question try67To simplify and modify an earlier question- assume the followingA document with two fields: question1 (a 2 button field)response1 (a multi line field)I've added javascript as an "Action" for the "question1" field. The javascript is as follows (triggered by mousedown)var answer1 = this.getField("question1").value;var responseText = "Response text not set (yet)";console.println("Set Variable answer1 to :" + answer1);if (answer1 == "yes") {responseText = "The answer is yes"console.println("We are setting the txt to yes");}else {responseText = "The answer is no"console.println("We are setting the txt to NO");}this.getField("response1").value = responseText;The problem is that when the event "mousedown" (or mouseup) fires, the value has not yet been set. How do run my script AFTER the radio button has been set?As it stands now, if the form is clear - the console log shows the following:Set Variable answer1 to :OffWe are setting the txt to NOClearly
After converting an Excel spreadsheet to PDF, I would still like the column filter functionality so that whoever I send the document to can filter based on multiple criteria.. Does anyone know of any tutorials that can help me achieve this?
when ever i download document from the internet that contain digital signature it will not display along side with the document. what could be the problems?
Hello. Is it possible to place 3D on a particular layer in the PDF file?From the Acrobat DC UI, when I add a 3D it adds to the entire document as the content is not added to a specific layer.I wonder if there is a way to add 3D via scripting. Thanks in advance.
Hi Guys,Can I set a javascript button beside the signature line to go directly to fill & sign to allow client to draw their signature and insert signature on the line?Any help would be greatly appreciated.Thanks.
I need help to do a simple calculation in Java Script.I have 3 columns on this fillable PDF Form.(A) GST Exclusive (B) + GST (C) =Total I need this calculation:B = A x 0.1C = B + A
I have created a form, am able to use a calculated script to hide & unhide certain fields when a certain action is performed from a dropdown box. I have added a button to spawn from a template, but I cannot figure out how to have the calculated scripts modify themselves with the new field names.
// Time Values var cStartTime = this.getField("TimeIn.0").value; var cEndTime = this.getField("TimeOut.0 ").value; // Only process if field contains a value if ((cStartTime != "") && (cEndTime != "")) { // Convert to Hours Decimal value var nStartTime = 0, nEndTime = 0; var aStartTime = cStartTime.split(":"); nStartTime = Number(aStartTime[0]) + Number(aStartTime[1]) / 60; var aEndTime = cEndTime.split(":"); nEndTime = Number(aEndTime[0]) + Number(aEndTime[1]) / 60; // Find Difference var nTimeDiff = nEndTime - nStartTime; // Test for Midnight Crossover if (nTimeDiff < 0) { // Shift 24 hours nTimeDiff += 24; } // If used in a calculation, may need to be changed to "event.value =" var nHours = Math.floor(nTimeDiff); var nMinutes = Math.floor((nTimeDiff - nHours) * 60 + 0.5); event.value = util.printf("%02d:%02d", nHours, nMinutes); } else event.value = "";
I have a reset button at the end of my PDF. I want it to make my radio groups not read only and to make my submit buttons read only. I have the first part working, but not the latter. Here is my script on the Restart button:var Q = ["KAQuestion.1", "KAQuestion.2", "KAQuestion.3", "KAQuestion.4", "KAQuestion.5", "KAQuestion.6", "KAQuestion.7"];for (var i in Q) this.getField(Q).readonly = false; // this part is working to enable the Question radio group optionsvar S = ["Submit1", "Submit2", "Submit3", "Submit4", "Submit5", "Submit6", "Submit7"];for (var i in S) this.getField(S).readonly = true; // this part is not working to disable the Submit# buttonsThank you for your help, in advance
I Am Working With Adobe Acrobat DC, I Need A Help In Creating PDF Form.Can i Change Decimal Separator In Text Formatting??If Choose Number It Shows Me Decimal Point But I Want Equal To Sign Instead Of Decimal PointFor Eg Input Is 1299.00. I Want Output As 1299=00.Is There Java Script Available For This Text Formating Please Help.
I have an interactive PDF with a form field button called “Nav_Forward_Page_14” that is set to hidden. I want the button to be visible 5 seconds after the page containing the button loads; so on Page Properties (for the page with the button), I've tried adding the following Javascript on page load, with no success:setTimeout(function() { this.getElementById("Nav_Forward_Page_14").style.display = "inline"; }, 5000);Thinking that I may have the function wrong, I also tried:setTimeout(function() { this.getElementById("Nav_Forward_Page_14").display = display.visible; }, 5000);After more research, I've also tried:function runImage() {this.getField("Nav_Forward_Page_14").display = display.visible}run = app.setTimeout("runImage()", 5000);Please help me correct the function necessary to show the hidden button after a delay on page load in a PDF. Thank you in advance!
I am trying to create a custom dynamic stamp in which the user is prompter to enter information when the stamp is placed.Here is the code I am using:var cAsk = "Please enter Inspection Date";var cTitle = "Inspection Date"; if(event.source.forReal && (event.source.stampName == "#-65c2ZoyHu7QwjOp-fjeqA")){ var cMsg = app.response(cAsk, cTitle); cMsg += util.printd("mm/dd/yyyy", new Date()); event.value = cMsg; event.source.source.info.DocumentState = cMsg;}However I keep getting the error: event.source is null.Help!!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.