Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
Hi there! I am having trouble with a script I'm working on and hoping I can get some advice.I have a form with several fields that are either visible or hidden depending on the state chosen by the user. The user may select different state forms by checking check boxes, then hits a button to append those state forms to the document.When a user selects their state, a function runs to set their location (this consists of making state specific fields visible, and checking all boxes for each state form by default). The checkbox portion is where I'm running into issues. My loop will only check or uncheck the first box, then stop. Here is the portion of code in question:var Location = this.getField("LOCATION").value;var ME1 = this.getField("ME_1");var ME2 = this.getField("ME_2");var ME3 = this.getField("ME_3");var ME4 = this.getField("ME_4");var ME5 = this.getField("ME_5");var NH1 = this.getField("NH_1");var VT1 = this.getField("VT_1");var VT2 = this.getField("VT_2");var allChecks = [ME1, ME2
I am writing a .NET program to allow a user to open a partially prepopulated form and finish filling out the paperwork while in the field and then have the program save the pdf and update a database to mark the status of the form as complete. I have a couple ideas to try and am hoping someone can tell me if this is possible or an alternate method. Also note, I do have Acrobat Standard DC, and any machine running the program is expected to have Acrobat (not reader).The first idea is to open the pdf in the program's .NET form, add information, have someone initial something, then sign and click a button beside the PDF window that would then run the code to save the pdf and update the database that the form is complete. I attempted to open it using the COM object, but when I clicked on fill and sign I got a message that Fill and Sign is not available in browser mode. Is there some other way to open the PDF in the program and use fill and sign?Some alternate methods I am
Hallo liebes Forum,ich arbeite mit Acrobat XI unter Windows 10.ich habe ein Formular zum Ausfüllen auf dem Smartphone, Tablet oder auch am PC erstellt. Ich schicke dem Empfänger ein leeres Formular, er füllt es aus und schickt es mir dann zurück.Nun bekomme ich von verschiedenen Absendern das gleiche Formular mit verschiedenen Inhalten zurück. Da man den Dateinamen auf dem Smartphone nur sehr umständlich ändern kann, möchte ich dem Formular einen eindeutigen Namen zuweisen, wenn ich es zurückbekommen habe. Ich öffne das Formular und habe darin einen versteckten Button.Dieser soll folgende Funktion haben: Er speichert die Datei unter dem Namen aus der Kombination der Daten aus Feld 1, Feld 2, Feld 3 und dem Zusatz "Prüfprotokoll".Beispiel der Inhalte:Feld 1 heißt Brückennr., der Inhalt lautet "123456"Feld 2 heißt Prüfdatum, der Inhalt lautet"12.08.19"Feld 3 heißt Kunde, der Inhalt lautet "abcdef"Die Datei soll unter dem Namen "123456_190812_abcdef_Prüfprotokoll" über den Speicherbutton
My original equation is 20250/(Downflow+Inflow)I want the calculated field to be blank if the inflow field stays 0.This is the code I've been playing with, but I just can't get it to take.event.value = (20250/(getField("DownflowCFM").value + getField("InflowCFM").value));if(getField("InflowCFM").valueAsString === 0)) event.value = "";Can someone help, please?
Hello,I have a seven pages in pdf document and when the user clicks the "Submit" button, I would like it just to submit each page to different email. Is there a way to do this using javascript? Maybe i do this by one button for all pages, or each page has own button but run by master button? Help appreciated! Thanks!
I have 100+ (geo-referenced) pdfs, in which I need to rename some of the layers. E.g. "If the pdf contains a layer named abc, it should be renamed to def, if it contains a layer a23, it should be renamed to c47, etc.". So I have a list of the names I want to replace, and I need to do that across all pdfs (some of the layers are inside groups or nested groups). And I'm looking for a way to automate/script this.I'm not very familiar with the Adobe products, so I'm not even sure where to start. I can see that Acrobat can do the renaming, and also preserves the geo-referencing info in the pdf when saved, but it doesn't seem very scriptable from what I can find (it seems to mostly be about adding javascript to the pdf, not executing it across multiple pdfs). Illustrator seems more scriptable, but if I open a pdf in Illustrator, it doesn't show the layer names that I'm looking for, so it seems to have a different view of what a layer is.I'm happy to code in javascript, bat or whatever is rel
Hallo liebes Forum,ich habe ein Formular erstellt, in dem ich ein Datumsfeld mit dem aktuellen Tagesdatum habe (wird beim Anklicken eingetragen - Format dd/mm/yy). Das Feld heißt "Prüfdatum". Nun gibt es noch ein weiters Feld namens "nächste Prüfung" (Format mm/yy).Nun möchte ich, dass im Feld nächste Prüfung der Wert des aktuellen Prüfdatums + 1 Jahr steht.Beispiel: Feld Prüfdatum = 11.08.19 Feld nächste Prüfung = 08/20Leider bekomme ich das nicht hin.Kann mir jemand das komplette JavaScript dafür nennen?Mfg Michael Kettner
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
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.