『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
Please provide any insights to the following question. In trying to sign and date a w-9 I get the following message. "This form cannot be edited in Adobe Acrobat DC. Please use Adobe Lifecycle Designer." How do I get this document dated and signed without buying Lifecycle Designer?Thanks,Rick
I'm working on a RPG character sheet..I'm trying to calculate a characters total armor class..I have all the fields set up and labeled..The total AC bonus = 10 + DEX mod+ proficiency bonus +item bonus..I have a field that already calculates and generates the "DEX Modifier" field.The problem is, if you wear a suit of armor it allows you to add your Dex modifier to the ac totalBUT only upto the armors max..Let's say you wear leather, it allows you to use only +4 max bonus.So if I have a Dex mod of say +5 it needs to only add the +4 ..My fields in question is "Dex modifier","Ac Dex modifier", " ac Dex modifier max"I've tried var A = this.getField("DEX Modifier").value;var B = this.getField("ac Dex mod max").value;If (A>B) {event.value = B}So if ac Dex mod = Dex mod,But if the Dex mod is greater than the ac Dex mod max, the Dex mod @= ac Dex mod maxAny help is greatly appriciated
Hi everyone, I have a PDF form that I've created for my team to help make creating contracts easier. Essentially what it does is it has a bunch of form fields on page 1 that fill in all the appropriate information on all the other pages. I've then created buttons that print just the pages we need, which vary for different people. This system works great for printing, but I'm trying to come up with a better solution for saving. Here's what I want:On a button press, a certain set of pages should be extracted from the PDF, flattened, and then a Save As prompt should appear. But I haven't been able to figure out how to apply scripts to the extracted pages, instead of the original. For example, if I use this code:this.extractPages(1,3);this.flattenPages();app.execMenuItem("SaveAs");then the pages are extracted correctly, but the original PDF is then flattened and saved, not the new extracted PDF. This is what I've been doing as a workaround:this.deletePages({nStart: 4, nEnd: 7});this.delete
Trying to select a file and get the ASPathName of the file. There was a sample in PDF Binder to do so but it only allow you to choose folder instead of a file with AVAppChooseFolderDialog method.
I am trying to convert an Excel expression/formcalc script that essentially divides the totals of two fields provided on a PDF form. One field may include a total entered on a another page. The formcalc script I am currently using works, and is listed below. Is there any chance someone might be able to help me with converting to javascript? Thanks so much!if(Page1.Total_undupl ne 0 & HasValue(Page1.Total_undupl)) thenTotal_al_instr / Page1.Total_unduplelse nullendif
I have 36 Adobe documents with roughly 2500 pages in each one of them. I need to export the pages out of each one of those documents based on a list of identifiers I have in an excel sheet that would show up on the pages in the pdf. Please help
I'm having some issues with this script. I've used it successfully, but slightly different than this version. I have confirmed each checkbox has a export value, but I can't get it to display the checkboxs' export value within the text field I have it assigned to.I'm using this in the "custom calculation" section:var ybl = this.getField("Length.Youth").value ;var abl = this.getField("Length.Adult").value ;if(ybl <= 31) { event.value = (ybl.value) ;}if(abl >= 32) { event.value = (abl.value) ;}
Hello,I am trying to create an employee evaluation form. I'd like the calculated field to be the sum of the check boxes then divided by the total number of categories (6). Eachcheck box has the appropriate export value according to the rating (1, 2, 3, 4, 5).So if an employee was rated all 5s across the 6 categories they would average out at a 5. (5 rating x 6 categories / 6 categories). Any help on how to accomplish this would be appreciated. Thanks in advance!
Believe or not but I couldn't find the answer. I have two fields. Field1 and Field2. Field1 calculates. If and when Field1 is populated then I would like to show and populate Field2 with a phrase, not the total from Field1. Then if Field1 is not populated then to hide and reset Field2. Can someone help me solve this? Thank you all.
I currently have an 8 page PDF form and at the end of the document I would like to have a button that would export / save, as one long PDF page. Is this a possible?
I have a submit button on the form I'm creating. 1) After researching various examples, I have the following JS set up:var emptyFields = [];for (var i=0; i<this.numFields; i++) { var f= this.getField(this.getNthFieldName(i)); if (f.type!="button" && f.required ) { if (f.valueAsString==f.defaultValue) emptyFields.push(f.name); }}if (emptyFields.length>0) { app.alert("Error! You must fill in the following fields:\n" + emptyFields.join("\n"));}It seems to be working but it still allows the document to be sent by email after clicking OK on the warning window. Any ideas on how to fix that? Ideally, I would like the user to be returned to the form to finish completing the document.2) Is there a way to send the form in a read only format without changing it for the user? I'm noticing in my tests that when I have t
Hello All,I am attempting to create a simple dialog box with a dynamic number of checkboxes. My goal for the dialog box is to take a number the user selects beforehand (in a separate dialog) and create that many checkboxes. I can successfully prompt the user to enter the number of checkboxes desired, but I'm having difficulty looping through the "initialize" and "description" properties of the dialog box to create the desired number of boxes.Any help you all could provide would be appreciated.Thanks in advance.
This should be pretty easy. I made a drop down with rather long entry listings. The selection from the drop down shows into a text field (multi-line). What I wanna do is control how the text flows in the text field. I wanna break the line of text where I want it to break to the next line. In essence making a double space or single. I've tried placing the \n and \r in the drop down listing but that didn't do anything. So, I was wondering how that would be done (or even if it's possible). Can someone help me figure this out? It's driving me a little more nuts. Thanks.
Hello all, I really hope someone can help me with this issue. (I'm not a hugely well-educated javascripter, so please feel free to assume zero knowledge in your responses...)(I'm running Acrobat DC)I have a form that contains a LOT of fields. the form is called "front.pdf". The fields are arranged on it in 32 rows of sixty fields (I know: that's a LOT!). Each field is named as follows:A.01, A.02, A.03, A.04 ... up to ... A.59, A.60B.01, B.02, B.04 ... => ... B.59, B.60The rows go up to Z, then AA, BB up to GG. (All rows go from 1–60)There is another pdf form, called "back.pdf" that is attached (as an attachment) to the first. It contains the same amount of fields, named exactly the same way, the only difference on this one is that the rows run from 60 down to 1 rather than from 1 up to 60.Each cell, on both forms, will have a value that is either empty: ("",) or the lowercase letter Z: ("z").I'm trying to write a script that, when attached onMouseUp to a button on the parent pdf (fr
Acrobat DC Pro on Win 10 Pro.I have created a dynamic stamp and called the file "Receipt.pdf". I want to use it to signify that my invoice has been paid by my client.There are two text fields, one above the other, the first to show the current date and the second field I want to generate a dialogue for me to insert particulars of the payment, e.g., a cheque number or other identifier.When I apply the stamp to the pdf invoice, the date field works fine, but no dialogue is generated. So the stamp appears with the current date and a blank space beneath it.The "custom calculation script" for the date field is:event.value = (new Date()).toString();AFDate_FormatEx("dd mmm yyyy");The script for the dialogue field is:var cAsk = "Enter Receipt Details" ;var cTitle = "Receipt Details" ;if(event.source.forReal && (event.source.stampName == "#Receipt")){ var cMsg = app.response(cAsk, cTitle); event.value = cMsg; event.source.source.info.exhibit = cMsg;}I am ignorant about
I am moving value ‘x’ to a combo box field. If the value ‘x’ does not exist in the combo field, will it trigger some sort of value that can be used to determine ‘x’ does not exist in the combo box field?var x = “ABC123“;this.getField(“Combo Box-myfield”).value = x;
Hello everyone, I'm trying to create a group of fields that would have pre-populated text in the export value. Then combine those fields into one, which would make a complete sentence (or paragraph) of those field values. For example, Field1 would have "We propose to install". Then in Field2 would have the (total footage) "of 8' high CLF". In Field3 would have the total footage then "8' high WIF". In Field3 would have pretty much the same but this would be "of 8' high Wood Fence". Giving me the choice to show/hide the particular fields.Is this something that can be done using javascript? I don't know enough but I'd like to learn. Or, does anyone know of a way to accomplish something like this in a PDF. I'd like to create a short cut to be able to put the combinations into a job description. If you can show me how to create the first one, then I can do the rest. Thank you all so much.
in my digital forms using pdf expert on ipadi have ( submit by email ) button with mailDoc, mouse up run JavaScript actioni added another mouse up actionif(this.getField("CAP1Signature").value !=""){this.getField("CAP1Signature").readonly = true;}////if(this.getField("CAP1Signature").value =""){this.getField("CAP1Signature").readonly = false;}to make the a signature field is readonly if the field is already signedand (not) if the field is still blankto ensure that the file will send with readonly signatureand also make a chance for the user if he forgot to sign before click on the buttonmy script is working half or the other halfi tried alsoif(this.getField("CAP1Signature").value !=""){this.getField("CAP1Signature").readonly = true;}else{this.getField("CAP1Signature").readonly = false;}i got the same resultany help please !?thank you in advance
Hello everyone, I am new to using Acrobat. I have ten (10) pages named page 1 through page 10. I'd like to have page 1 have a drop down box and a button. The drop down box would have number 1-5.A default selection in drop down box would be 1. The default setup for the PDF would be pages 1-4. I would like it if the user selects number 2 from drop down box, then I would like page 5 added to PDF. If user selects value 2 from drop down box then page 6 would be added to PDF.If user selects value 3 from drop down box, then I would like page 7 added.To be clear...the default setup would be pages 1-4 visible. Pages 6-10 as non-visible. Then depending on selection an additional page (from page 5 to 10) would be added to PDF.Also I would like after user picks number 1-5 from drop down box that the user has to press the button to actual have the above action to happen.And if possible I would like a selection to delete or hide a selection made an error. Like if they wanted to select value number 2
I am needing some help creating a script for an vehicle order form I am working on. Below is the file I have (please do not mind the deleted section as I could not share it online).The form needs to be able to do the following ...If I check a few boxes on Page 1 (like Ford Ranger and 4x4 option, the Estimated Monthly Lease cost for each -"MC_Truck1 "and "MC_Option_Truck1" which are hidden text fields with numbers) of those boxes will sum up and appear on Page 2 (the "Monthly_lease_value" text field) as a total of the boxes selected.I read a thread similar to what I would like to like to use here: Conditional sum field with checkboxes.,but I have tried may ways to adapt the JavaScript to meet my needs with no luck. Second, I would like to know if I can do the same with words... where If I check a few option boxes on Page 1 (like Meyers Plow option and Salt&Sand option, the hidden text fields -"TF_Option_Plow "and "TF_Option_Sand&Plow" with words) will appear on
I setting up a pdf using DC Pro. I have a drop down box “A” with a list of DODAACs alphanumeric box and if you select a DODAAC the text box “B” will reflect the corresponding Unit Name of that DODAAC. I have this script but I have over 30 DODAAC and units and I keep getting an error “SyntaxError missing ) after condition 21:at line 22”All lines are exactly the same format, only difference is the DODAAC and Unit Name.if (event.value=="W90WQ1") this.getField("Unit") .value = "7th MSC"; else if (event.value=="W90Z6S") this.getField("Unit").value = "361ST CA BDE"; else if (event.value=="W58193") this.getField("Unit").value = "457TH CA BN"; else if (event.value=="W9111P") this.getField("Unit").value = "457TH A / CO"; else if (event.value=="W9111L") this.getField("Unit").value = "457TH B / CO";else if (event.value=="W9113R") this.getField("Unit").value = "457TH C / CO";else if (event.value=="W91Z4A") this.getField("Unit").value = "457TH D / CO"; else if (event.value=="W90WQ4") th
How to create custom Page Thumbnail Menu item. It should be visible on right click on Page Thumbnail and the Javascript should be executed on click
Hi there my question is to save a pdf form to JPEG image by a button on the form ? with script of any other option.regardsam
I have the following script in my "Documents JavaScript." It is my understanding putting the script in "Documents JavaScript." should cause the script to execute each time the document is opened.The intent is to look at three fields in a specific row... if all are $0.00 and a date has been put in the date field for that row, then remove the date. If any one of the three checked fields has a value >$0.00 then leave the date. The field is defaulted to currency, thus the Dollar sign. I have tried both with and w/o the "$." This is repeated 8 times as there are a possible 8 rows all with the fields as noted in the script.This is not working on testing. What am I missing or is this not going to work as is?var v1 = this.getField("FUEL COST TOTAL1").value;var v2 = this.getField("REEFER COST TOTAL1").value;var v3 = this.getField("DEF COST TOTAL1").value;var v4 = this.getField("DATE_FS1").value;var v5 = this.getField("FUEL COST TOTAL2").value;var v6 = this.getField("REEFER COST TOTAL2").valu
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.