Questions
Recently active
Hello, I am trying to make a Checkbox cycle between check, cross, and empty. I found this code, but can't get it to workthis.ui.oneOfChild.mark = this.value.oneOfChild.value === 1? "check":"cross"; I have also seen that people talk about "faking" it with a button, and I tried this:var i;if (i=2){this.getField("Button1").buttonSetCaption("X");i=0;}if (i=1){this.getField("Button1").buttonSetCaption("/");i++;}if (i=0){this.getField("Button1").buttonSetCaption(" ");i++;}also doesn't work.Thank you so much for taking the time to help!!!!
Can I use javascript to add a form to each page of a PDF, same form, same location?If so can someone point me to what I would use to do this?Thanks
ok i have a sub-form that contains check boxes. it is hidden and becomes visible when when the conditions are met. however the check boxes in the sub-form only show the box to check and not the accompany text. tried it on different systems thinking it was an adobe issue but its persistent across the systemsthe form was made in live cyclecode to make the sub-form visible inside check boxif (this.rawValue == "1") { emergency.rawValue =0; ND.rawValue = 0; if (Internet.rawValue =="1") { xfa.resolveNode("IG-RN").presence ="visible"; } }like i said this code works but the check boxes in the sub fo
I am currently struggling in figuring out how to create an ordering form with calculated fields that will allow me to add the valueAsString from a group of comboboxes.For example, my form has three combo boxes for the user to select an array of different meal kits for breakfast, lunch and dinner for that day.A separate text field allows the user to enter the total headcount for diners consuming the meal kits.The breakfast combobox offers a selection of either pork-free, religious meal, regular-breakfastThe lunch combobox offers a selection of pork-free, religious meal, regular-lunch The dinner combobox offers a selection of pork-free, religious meal, regular-dinnerOna separate text fields I need to calculate the total of pork-free meals selected for breakfast, lunch and dinner; the total of religious meals selected for lunch; and the total regular meals for brekfast, lunch and dinner.The reason why is because each mealkit provides different amount of kits per box. So if I h
Dear All,I need your help and guidance, Actually i had created an form, Wherein i had created a numerical field 'Amount' where user is supposed to enter the amount and beside that their is a text field which i had named 'Amount in Words'.Now, request your help and guidance that is it possible that once user enter the amount in figure in 'Amount' Field. 'Amount in words' field should auto provide us the amount in words based on the value inputted in 'Amount' Field.I am at beaning level of learning adobe live cycle designer and i recently purchased it. I would be great help if you can help on solving this issue.If above is possible, Please provide me the solution in detailed steps to follow along with the java script to be used.Thanks in advance.Regard's,Rakesh.
My question, why is the following script not running within the "Additional Metadata"? Entries in the document properties, e.g. Title, author, etc. work with it.The script:function CopyrightStatusSetzen(){ var EingabemdCopyrightStatus = app.response({ cQuestion: "Geben Sie die CopyrightStatus ein:", cCopyrightStatus: "CopyrightStatus eingeben", cDefault: "1975"}); if(EingabemdCopyrightStatus == null){ } else this.info.CopyrightStatus = EingabemdCopyrightStatus; this.layout = "MultiplePage"; // this.layout = "SinglePage"; } app.addToolButton({ cName: "SetCopyrightStatus", cLabel: "CopyrightStatus setzen", cTooltext: "CopyrightStatus setzen", cEnable: true, cExec: "CopyrightStatusSetzen()"}); could someone help me?System: Windows 7; Acrobat DCThank you and best regards
Hi,I am looking for a solution to integrate directly in a script in Acrobat the equivalent of the "upright" function in cpdf, which sets the page rotation to 0 but also rescales the page (mediabox). The result is that the appearance of the page does not change, but the page rotation can be set to 0 on every page.(The reason I need this is I am developing a system to automatize the placement of dynamic stamps on multiple files. For now I use "if" to have different settings for each possible rotation setting, but it's not a very clean solution, I would prefer to have the files standardized beforehand to obtain only A4 portrait pages with page rotation set to 0).Thank you in advance for your help.
Greetings - I am in hopes that someone might be able to assist in helping me Save a file, with a new name, to a temp folder (?), and then possibly attach the newly renamed file to an email.I already have some code (found here - thanks Thom Parker!) that works as should. Now what I am looking to do, is rename the file and email the renamed file.Here is my email code:{// To email adresss//var cToAddr = "email@email.com";var cToAddr = "email@email.com";// BCC email addressvar cBCCAddr = "email@email.com";// Set the subject for the email messagevar cSubLine = "Donation Acceptance - " + this.getField("Name").value + " - " + this.getField("Today").value + "";// Set the body text for the email messagevar cBody = "Attached is a new Donation Acceptance Acknowledgement from " + this.getField("Name").value + " " + "for your review.\n\n" + "Thank you." + "\n\n"// Send the entire PDF as a file attachment on an emailthis.mailDoc({bUI: true, cTo: cToAddr, cBcc: cBCCAddr, cSubject: cSubLine, cMsg: cBo
The link http://download.adobe.com/pub/adobe/devnet/acrobat/downloads/Acrobat_DC_SDK_Documentation.zip is broken. Is there another place to retrieve this document?
Not sure what I am doing wrong here, but I think I am close. I am trying to have a function find the smaller of either one field entered by the user of the form or another set of numbers based on a dropdown menu.I am not sure where I am going wrong here, I think I am using the switch function incorrectly to assign a value to one of my variables, but I have no idea how to fix it:var z = this.getField ("Line1");var y = this.getField ("Dropdown3").value;var x = (function(y) {switch(y) { case "S": x = 39375 break; case "MFJ": x = 78750 break;
I´m trying to write a script, that search for a PDF File and saved in another File.
What is the best way to restrict special characters in a text box in a form?
hi, i have found bellow code & edited but it's not working. can u pls help me to correct submit button JavaScript. i'm using adobe pro DC. thanks..var myDoc = event.target;try { myDoc.mailDoc({ bUI: false, cTo: 'sbartholow@ppbi.com', cCc: 'khall@ppbi.com', cSubject: 'New Employee Form - '+EmpName+ " - " + StrtDate+ " - " + Loc, cSubmitAs: "PDF", cMsg: cBody });} catch (e) { }
Hallo an alle,brauche ein "bisschen" Hilfe Wie kann ich mit Acrobat Pro DC (oder alternative Adobe LiveCycle Designer ES4) Textfelder addieren die ein bestimmten Textinhalt haben?Bei einer anderen Textfeld reihe möchte ich Textfelder addieren die ein wert oder Text haben, wenn leer dann nicht zählen.Ich weiß das dies mit Java möglich ist, als Laie weiß ich nur nicht wie Danke für jede Hilfe im VorausNiko
This is for a rpg character sheet, and relates to spells..There are 4 main types..Arcane, Divine, Occult, PrimalAnd there's a list of speeps based on those 4 types.The setup I'm thinking is..1 checkbox for each of the 4 types (So A, D, O, P)I have a drop-down list of all spells by spell typeAll in the same list. So each spell would be titledSomething like....Arcane magic middle.What I want to happen is when the box for say Arcane is checked, the list only shows items with "Arcane"Any help with this is appriciated
Hi,I tried to modify some other script I found, but I really don't understand it well enough to make it work. I am using Adobe Acrobat XI Pro.I am calculating the expiration date of an extended warranty. All dates are entered with the MM DD and YYYY in separate fields, due to the Manufacturer's form.First Date is manually entered, date of original purchase.2nd date is already set up to autofill current date.3rd date is where I need help. I have the MM and the DD as duplicate fields from the first date, this is working fine. I need the "Year_3" field to automatically add 4 years to the YYYY from from the first date's "Year" field. Any help is appreciated.
Hi There!I have a client who has a fillable form PDF that he uses for a combination work order/invoice. Not the most hi-tech but it works for him and he likes it. Currently, the working section of the form has 5 sections, each section is its own field: Part No. / Description / Quantity / Price / AmountThere are 27 rows of these fields. Originally the base form was set up in InDesign and had the rows alternating grey and white (as a static design element)The quantity and price fields, were set us so that when a value is entered, will calculate and place the product in the Amount field.The Amount field has a validation script on it already to keep the field blank when nothing is entered. (otherwise, it shows up as $0 on every line)This is the validation script i used: if(event.value == 0) event.value = "";So - here is my challenge: He wants a change to the form so that this whole section is white, and then where the fields will turn g
Hello,I am working on a new form that requires the input of bank account information. I would like to have 2 fields for the routing and 2 fields for the account number. I want to be able to display a message if the 2nd input does not match the 1st. Just trying to add an additional layer of verification.Optimally Id like to stack the fields and show the verification field on top of the initial field to avoid the old copy and paste, but I am sure there are a few more mechanics invloved in that implementation.Can someone help me with this request? Thanks!JT
Hello,I want to delete an attached file from a pdf using javascript AND Acrobat Reader.I have this javascript copy in the Javacript directory of Acrobat Reader but the attached file is not deleted when the PDF is opened.I don't have any error messages and I'm sure the script is running app.alert("test")Could you help me?Thank you. Thank you.if (app.formsVersion >= 😎 {ImportAutoTXT_BB=app.trustedFunction(function() {app.beginPriv();///// Suppression du fichier txt intégréthis.removeDataObject("fichierTXT");///app.endPriv();})}
I have a 3D model PDF and I made some button functions: switch views, display text labels and rotation tools, etc.The button's tooltips can be displayed before the 3D model has been imported.After importing the 3D model, the button's tooltip disappears.But after I opened the rich media to select objects,My tooltips have not disappeared, and tooltips will appear after that.I tried to reopen or rewrite the program many times.Can't solve this problem.Here is the code for one of my buttons.------------------------------------------------------------------------------------var btn_r= this.addField("btn_r","button",0,[800,476,827,499]);btn_r.userName="right";btn_r.fillColor = color.transparent;btn_r.setAction("MouseUp",'var c = getAnnots3D(0)[0].context3D; \r'+'c.runtime.setView(0,false);\r'+'var camera = c.scene.cameras.getByIndex(0);\r'+'var num = 13; \r'+'camera.position.set(camera.targetPosition.x+num,camera.targetPosition.y,camera.targetPosition.z); \r'+'camera.roll="0";\r'+'this.getFie
Hi,I have succesfully written a script which uses a dynamic stamp to set an "Exhibit 1, 2, 3..." stamp on single PDFs based on the filename (the source files are labeled 001-..., 002-..., etc.). The script uses saveAs() to save the newly stamped files with names P001-....pdf, P002-...pdf in the same folder than the source.I can now run an action which runs the script on multiple files.What I need to do next in the workflow is combine all the newly created, stamped files in a single (optimised) PDF file, which I do manually from Windows Explorer (select - right click - combine, option "reduce file size"). The fact of having a bookmark corresponding to each file is a plus.I would like to further automate this as part of my action (or of a folder level script).Leaving aside the optimisation question (which I understand I could solve by using doc.preflight), I don't understand how I am supposed to use, from the same script or action, the files I have generated in order to combine them. I w
I have 21 computers linked together via a switch. 20 of which will be used as clients and one as a server. Each client will have a pdf form saved to its desktop. (The form can't be saved on the server because connection will be lost between starting and submitting). The form is a worksheet that will be filled out by students. I would like to create a submit button on this form that extracts the data from the pdf and submits it to the server. The server will then process the data (grade) and provide feedback to the student if they passed or failed. The problem is I'm not sure what the best route is to accomplish this.I'm familiar with html, php, and javascript but its been over a decade since I've written any code.I know this will be quit a bit of code but if someone could point me in the right direction of where to start I'd appreciate it. Better yet, if there's a GUI interface that automates such a process that be even better. Thanks in advace!Steps:-extr
Hi, how can I sum up the following values?[A-H]&[J-U]&[W-Z][a-z][I,II, III, IV, V, VI, VII]if (event.value=="A") { event.target.textColor = color.red; this.getField("Field1").textColor = color.red; this.getField("Field2").textColor = color.red; this.getField("Field3").textColor = color.red; }else if (event.value=="B") { event.target.textColor = color.red; this.getField("Field1").textColor = color.red; this.getField("Field2").textColor = color.red; this.getField("Field3").textColor = color.red; }else if (event.value=="C") { event.target.textColor = color.red; this.getField("Field1").textColor = color.red; this.getField("Field2").textColor = color.
I have been using the "Find, Highlight, and Extract" action.This tool works when I run it on smaller documents, but will usually crash or take a long time on larger documents.For large documents 50k+ pages is there a faster/better way to extract pages with a particular phrase?
I have two fields, field A and field B. Field A needs to be divided by Field B and the answer needs to be rounded up. Example: 2÷5=1How can I code this?var AA = this.getField(“UNITSWEEK”).value;var BB = this.getField(“MAXDAYSWK”).value;if (BB==0) event.value = "";else event.value = Math.ceil (AA / BB);}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.