Unlock the power of Acrobat SDK through our community.
Recently active
I'm attempting to insert an existing pdf into an open pdf after a specific bookmark using javascript.
I have a two page form, created in Acrobat DC, that contains a table on the second page for entering information about purchase order line items. If the user needs additional lines I have included a java code button on page 2 to open a hidden template page. The user can continue to add more pages as needed. Is there a way to have these added pages sequentially numbered (beginning with page 3) at the bottom center of the pages?
Hello there,I have a document numbered 1 - 100. I have a second pdf that is also numbered 1 - 100. I'm trying to merge the 2 PDF files into one, but to keep them in the same sequence. So page 1 from document 1 will be followed by pg 1 from document 2. When I try to merge the file currently, it simply drops in the 2nd document at the end or beginning. I can manually insert them, but this is a test for a larger project.Would appreciate any suggestions.Thanks
I made a stamp that works. It fills in the individual text fields. It's based on the app.response type. What I'd like to do now is, is to have all the selections populate into one text field instead of populating each of the individual text fields. In essence to compose a sentence of the selection information I make. I need help doing it can someone chime in as to how I can accomplish this? If this can be done? A little example would be very helpful. Thanks.
Good Day,I am looking for a javascipt to convert decimal minutes to hours and minutes?On my form i have four fields that is have added up to give me a Total. These fields can be any numbers in themExample Field 1 - 60 MinsField 2 - 60 MinsField 3 - 50 MinsField 4 - 60 MinsTotal - 230 Minsthen i take Total(230 mins) / 60 mins = FinalTotal(3.83) (Decimal Minutes)I need to take the Final Total(Decimal Minutes) 3.83 and convert it to Hours and Minutes to get the final answer of 3 Hours & 50 MinutesAny help would be grealy appreciatedThanks
I Need a solution for Acrobat Pro:I would like a PDF export to a xlsx. Manual all good, with way "Save As other...->Spreadsheet-> Microsoft Excel Workbook"So, my problem is, in different folders come again every day new PDFs, that I need as excel. For this I would like to find a JAVA solution that I can use Acrobat Pro to convert to Excel. Do you have a solution for me?
Good afternoonI have been reading a lot of questions and answers on this forum for converting an Excel IF formula into a formula that will work in a PDF. I have been unable to find any that work with my case and I don't understand enough of what people are saying to figure it out on my own. Can someone please help? The current formula is set up like this:=IF(D31="Y",750,0)*12+(D35+600*12)I have different references for D31 and D35 in my PDF document which are as follows: D31 - VehicleD35 - PorterVehiclesAny help in the right direction would be so appreciated. Thank you!
Hi, I have a javascript problem with the following code:var sl = this.getField("Heuvel-0");if (sl.value == ""){event.target.fillColor=color.white;}else{if(sl.value==0) {event.target.fillColor=color.green; event.target.textColor=color.red;} else {if(sl.value>=-.4 && sl.value<=+.4) {event.target.fillColor=color.yellow; event.target.textColor=color.red;} else {event.target.fillColor=color.red; event.target.TextColor=color.white;} }}everything works except for the 0 value. The box doesnt change to green. When I change it to a 1 in the code and the box everything works fine. W
I am trying to figure out how to check a certain textbox contains a certain word in either upper or lowercase (XPO). If it does, then perform one action. If not then perform a different action, below is the code i currently am working with but it dosent seem to work. var cCustomerName = this.getField("CUSTOMER NAME").value;if (cCustomerName == "XPO"||"xpo"){ccAddress1 = ("dan.somename@somewhere.com" + "; " + "eps@somewhere.com" + "; " + "mark.b@somewhere.com" + "; " +"jeff.s@somewhere.com")}else
I have created a form in Livecycle Designer ES4, done a Preview and opened the file in Acrobat Pro. The window where the script is supposed to be is empty and so I cannot put in breakpoints and debug. At the bottom of the debugger windows it says "Unable to find the source for XFA ..."The Initialise procedure in LCDWhat could possibly be wrong here?
Hi,I want to build folder level scripts for Acrobat Reader DC - is there a good reference for this out there?Regards,Andy
I am making a form where letter grades will be entered. I need the form to convert the letter grade into a number value. The corresponding number values will be added together to calculate a total in another field.For this scenario, A = 4, B = 3, C = 2, D = 1, F = 0. For reference, some of the field names are "ELA1", "ELA2", "ELA3", and "ELA4".I am new to this and can't quite find a similar solution. Thank you for any help!
I recently updated to the free version of Adobe Acrobat Reader DC. When I receive a pdf as an attachment to an email, I can't save it to my hard drive. I could before. What's wrong?
Hello I'm trying to have a checkbox, when not checked display a message in the email body, but all I get is "undefined".var WI="Inventory Control - This includes Warehouse Inventory and Rental Inventory";var cb1 = this.getField("WI-U").value; if ( cb1 =="Off") WI.value;var cToAddr ="Email@Company.com"var cSubLine ="" var cBody = "Thank you for completing the file. \n\n"+ cb1.value + "\n"when the check box is off I need it to display plain text from var WI in the body of the email.Any assistance is greatly appreciated.
Hello -I want to create a conditional script to send an email if a certain form field includes specific text. The form is already made to automatically be sent to a set array of emails when the user pushes the "Submit Form by Email" button, but I want to add a script on top of that that will submit the form additionally to another email address when there is specific information included in a specific field. Is there a way that I can do this? I'd really appreciate any help. Thank you!
HelloMy question is, is it possible to create a form with the following requirements?1. Open PDF2. The supervisor fills in fields.3. The manager clicks on one of the departments, then the form should be forwarded to defined, stored e-mail addresses for processing (6 departments, on each departement is an email address - the choice of the departements with radio button or dropdown field).4. Example, the email was send to the department secretariat. He write an opinion in a field (including the name of the editor and the timestamp) and forwards it to the personal office by clicking on «Continue» (two defined, stored e-mail addresses, the choice of the personal office with radio button or dropdown field).5. The personal office also write an opinion in the form (including the name of the editor and the timestamp) and forwarded it to the department (send back -Department that is mentioned in step 2.).6. The department prints out the form.is that possible to create with adobe and javascript?
Is there a maximum amount of data you can have in a drop down box?I have a list of 6 clients (I'm starting small just to test)I have a name, DOB and address.I am using a script to populate a drop down box which lists all names:var textFields = ["Aname", "Bname", "Cname", "Dname", "Ename", "Fname"]; if (event.source!=null && textFields.indexOf(event.source.name)!=-1) { var items = [""]; for (var i in textFields) { items.push(this.getField(textFields).valueAsString); } this.getField("Dropdown1").setItems(items); } I have also created custom fields to add the name, DOB & address into one field. (AFull Details, BFull Details etc.) I am then trying to use this field in a drop down. It seems to work for 5 clients, but when I add the 6th, it doesn't refresh the drop down...var textFields = ["AFull
I am very new to acrobat form JavaScript and to coding in general. I have scoured the internet looking for my answers, but nothing quite fits. Your help would be greatly appreciated.I have a 2-page document with various form fields in rows - 16 rows total. At the beginning of each row is a checkbox that I use (via JavaScript) to clear the contents of the entire row, if needed. Besides the initial checkbox, each row contains 5 text boxes, 4 date pickers, and 9 additional checkboxes.I have a button with the mouse up set to run a JavaScript using the this.mailDoc code to send form data via email. However, I want to conditionally send information to the body of the email based on checkboxes being enabled.Here is what I want to do:1) If the row's initial checkbox is enabled, I want the data from certain fields in the row to be sent to the body of the email. If the row's initial checkbox is disabled, I don't want any of the data from the row's variou
Or just replace the image with a repaired one. I have a 160,000 page PDF and on every other page, there is an image background. Part of the background is a solid color that needs to be replaced with a different solid color. The problem is that the text above it is variable so I either need to put the box between that image and the text above or find that text and recreate it above the new box.Any ideas (I'm relatively new to Acrobat Javascript)
Hello,I am using Adobe Acrobat Standard DC. I have created a static form. I want to convert it into a dynamic form which expands depending on the input from a flat file.For e.g. : If a row looks like the one given below, I want the rows to have only that many lines as the input data file. I do not much knowledge in JavaScript. Is there a way to do this? The input data for this will be in an array. So if the array has only 1 entry, only one row should be displayed and the position of rest of the form should be adjusted accordingly. Any info regarding this greatly appreciated. Thank you.
I have a form that has spots for first floor and second floor elevations for a house. Unfortunately not all of the houses have a second floor. Is there a way that I can prompt the user to ask if there is a second floor and if not have it place N/A in the box and if so have it add 9 feet to the first floor. The form is set up so everything is calculated off of the Highest adjacent grade and split between different boxes for the integer and decimal.the code for the first floor calculation is var num = this.getField("HAG").value + this.getField("HAGdec").value/10 + 2;var strNum = util.printf("%0.1f",num);var aNum = strNum.split(".");event.value = aNum[0];this.getField("FirstFloordec").value = aNum[1];I'm assuming second floor would be var num = this.getField("HAG").value + this.getField("HAGdec").value/10 + 11;var strNum = util.printf("%0.1f",num);var aNum = strNum.split(".");event.value = aNum[0];this.getField("SecondFloordec").value = aNum[1];plus whatever is necessary for allowin
I have an else if statement that is completely finished, however it seems that the hierarchy is off and I don't know what order it should be in. Can anyone help with this? reading and writing test fields are number based on values from 0-120, any field marked with a Q is a checkbox field. I believe I have covered all possible situations in the code so nothing with that needs to be changed, only the order of statements so that they all work properly.//var f = this.getField("Reading Test");var g = this.getField("Writing Test");var h = this.getField("ReadingQ");var i = this.getField("WritingQ");var j = this.getField("ESLQ");var k = this.getField("EngQ");if (k.valueAsString=="On") event.value = "";else if ((f.valueAsString=="") && (g.valueAsString=="") && (j.valueAsString=="On"))event.value = "";else if ((f.valueAsString=="") && (g.valueAsString=="") && (j.valueAsString=="Off"))event.value = "";else if ((i.valueAsString=="On") && (h.valueAsString=="O
I am working with text boxes, I have already run calculation scripts to return a value based on other field selections. Those values are all being returned correctly, however based on the nature of the form some of the values returned include the word "and" while others may include the word "or" the text color for the entire field is currently blue but I would like to bring attention to those words "and"/"or" by either assigning them a different color or bolding them.Example:MTH 35 - Intermediate Algebra AND MTH 123 - College Algebra and TrigonometryI want them to stand out from the rest of the text. I don't know if this is possible, I imagine it could be a validation script or something but I am not sure how best to set it up.Any help would be great, I've tried reading documentation but I haven't found anything that similar to what I want to do.Thanks in advance!
I am wondering what the best approach for this would be.Here's my problem at hand:Hopefully this can be done on a web page (ASP.Net)...1) Allow user to open a previously created PDF2) when the user click son the document, I create a bubble\Oval where they clicked3) this click will open a form (specific to that click) and allow the user to enter data (maybe 5 fields) attached to a databse4) if the user clicks another area, it replicates the same steps listed above5) user can then save the document6) if they re-open that doc again, it should show all the bubbles\ovals create on page and when each bubble\oval is clicked, it displays that form with the data previously enteredWhat is the best approach to take here with Adobe products? Buy acrobat along with the acrobat sdk? I will install this on a customer's iis box. Not sure how licensing occurs here with multiple users etc...Thanks,Tim
For the life of me, I can't use this function correctly. I just want to spawn a blank template and have the page be correctly numbered in the bottom when the user completes the form but needs another page to go on.If I leave the template visible (as page one), it duplicates a filled copy of my template. I need the new page to be blank. So I figured the template needs to be blank and hidden. for it to spawn correctly.To hide a blank template, I first need to spawn a copy with bRename: true which correctly puts a prefix to the page created "P1". But once I spawn a second page from the hidden template, it has the same prefix of "P1". Then the others gets incremental correctly. So the first two pages are still Identical.and for the page numbering I have these 2 calculate scriptevent.value = this.pageNum + 1 //this value changes according to the page a value has been changed onevent.value = this.numPages //this show the correct valueWhat am I not ge
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.