Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
HiI am working on 40 pages Livecycle form and on the last page, I have section called "Office Use Only" where the user should not do anything with that page beneath to that section having a text field where we want to enter the password, if we enter the password, two checkboxes (work like radio button) will be visible "PageCheckbox" and "SectionCheckbox" and also with the "Extract" button and this to extract the forms by pages wise or section wise after checking the checkbox based on the selection Section headings will be visible and we will click extract button to extract the pages either page wise or section wise.And code which we used was working fine and we sent to the user after getting the pdf with data filled by user, we got surprised that without entering the password in "Office Use Only" section the checkboxes and extract button are visible.We have restricted the document so, they can only enter the values in the fields or they can take prints and they can't even open th
Here's a code I somehow manage to get. The only problem is It won't work unless all variables have a number in the field. How can I make a variable thinks it's zero when I don't fill in the field? var v1 = 0; var v2 = getField("MRow1").value; var v3 = getField("TRow1").value; var v4 = getField("WRow1").value; var v5 = getField("TRow1_2").value; var v6 = getField("FRow1").value; var v7 = getField("SRow1_2").value; var v8 = getField("RegRow1").value; var v9 = getField("OverRow1").value; var v10 = getField("SRow1").value; event.value = (v1 + v10 + v2 + v3 + v4 + v5 + v6 + v7) - v9;
I am using the chevron (>) symbol to provide a path for the user to access a window in the application, for example.Select Admin > Preferences > Practice to access the COB window. Is there a way to translate the chevron symbol (>) to a word for example:Select Admin and then Preferences and then PracticeORSelect Admin chevron Preferences chevron PracticeIs there a javascript or a wizard that we could run to activate words for symbols?
Hello, my question is how to check one string in one field for example:if in fill_20 the string is "Sofia" or SOFIA or sOfia or all combinations with lowercase letters and uppercase letters and so..If fill_20 is with content=Sofia and all combination with lowercase and uppercase letters then in fill_30 write value 100 if the string is different than Sofia then in fill_30 write 80?
Bonjour,Sur la base d'un document word, j'ai créé un formulaire interactif, qui contient des boutons radio également, avec un publipostage/fusion via un fichier Excel enregistré en txt.Je parviens à obtenir les premiers éléments du 1er enregistrement en faisant.formulaires . autres options de formulaire . importer des donnéesJe me suppose que je dois ajouter un javascript dans "assistant action" pour lancer l'ensemble du publipostage mais je ne le trouve pas sur le net.Pouvez-vous m'éclairer svp ?D'avance merci pour vos retours avisés.
Acrobat DC on PC or mac. I am adding an annotation to a page via a Custom Command. The text color, size, and alignment all are working. However, the typeface is always Helvetica. I have tried font.Times , font.Cour, "Times", "Courier" as the argument after textFont: Any suggestions?var annot = this.addAnnot({ page: msgOnThisPage, type: "FreeText", rect: [36,36, 612-36,72], textFont: font.Times, strokeColor: color.white}); spans[0] = new Object();spans[0].text = theMessage[0];spans[0].textColor = color.black;spans[0].textSize = 14;spans[0].fill = "invisible"; // no background colorspans[0].alignment = "center";annot.richContents = spans;
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
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.