Unlock the power of Acrobat SDK through our community.
Actividad reciente
Good day,I created a loan monthly payment calculation PDF with the following fields;- Current year: "_cYear" (a script adds in this value automatically.- Vehicle year: "_vYear" (this value is entered by the user).- Vehicle age: "_vAge" (this is calculated my simple script subtracting Current year from Vehicle year).-Vehicle price: "_vPrice (this value is entered by the user).- Term: "_term" (this value is the number of monthly payments, its value is selected based on the age of the vehicle using "if/else" function).- Interest rate: "_iRate" (this value is fixed).- Downpayment: "_dPayment" (this value is 15% of the Vehicle price).- Loan Amount: "_lAmount" (this value is the Vehicle price minus the downpayment).-Monthly payment: "_mPayment" (this value is the result of the formula).I get the desired results, however, I will like to include a button that will open a pop-up window that shows the following statement;if the vehicle is 7 years or less in age;"('_mPayment'/month, '_term' month
My fillable form has a submit button, but it will only work in Acrobat, and Acrobat mobile won't even work if the submit action contains javascript. My clients will not be using Adobe Acrobat, and I want them to be able to fill out and submit this form from their PDF reader. I see that other buttons, such as Print and other menu items, work fine on a few of the default PDF reader applications. Is there a way to make my submit button work?
My javascript for my Submit button runs properly until I try to get the final value, shown below:this.submitForm( "mailto:msanders2657@gmail.com?" + "&subject=good news" + "&body=" + "Name: " + this.getField("SellerFirstName").value + " " + this.getField("SellerLastName").value + "\nEmail Address: " + this.getField("SellerEmail").value + "\nPhone Number: " + this.getField("SellerPhone").value + "\nBest Time to Contact: " + this.getField("SellerContactTime").value );This script works just fine with the first four values, which are just text fields. However, the field "SellerContactTime" is a dropdown list with text options, and attempting to add it to this email causes my Submit button to do nothing. Can someone tell me why I can't submit dropdown form values and how to solve the issue? Thanks!
Not too long ago, I posted a question here about submitting form fields in a PDF, without sending the whole PDF (there are two forms on this document and each has its own submit button.) I correctly guessed that the following method would be the only way:-Use JavaScript to construct an email, and populate the body of the email using the form fields. Finding the right commands wasn't too hard. This script works just fine:this.submitForm( "mailto:msanders2657@gmail.com?" + "&subject=good news" + "&body=" + "Name: " + this.getField("SellerFirstName").value + " " + this.getField("SellerLastName").value + "\nEmail Address: " + this.getField("SellerEmail").value + "\nPhone Number: " + this.getField("SellerPhone").value );This will construct an email with the body in this format:Name: Jane DoeEmail Address: janedoe@example.comPhone Number: (555)555-5555 However, the following updated script causes my Submit button to do nothing at all:this.submitForm( "mailto:
I have a Problem with an advamced printing task.We have many scripts for a TV show to print. We print out each script for each actor. They rip out their scenes and throw away the rest of the script, resulting in 80% of the paper being wasted.Here comes my question. Is there a way to print out the script for each actor, only printing his/her scenes?It helps that in a script all character names are written in captial letters (e.G. "JONNY"), so a javascript could search for this exact name. And every scene ends on "***". So in my dummy mind I would need a script looking like the following:seacrh for == "JONNY"start printingend on == "***" I hope my problems gets across...That you so much for your time!Stay healthy
I am trying to open a PDF file with Excel 2013 by using VBA and then adding text to specific locations on the PDF. I have Adobe Acrobat 9 Pro installed on a Windows 7 PC with Office 2013.Thanks in advance.
Hello community, Part of my work involves filling out a fillable pdf with countless addresses, account numbers, and other information. The fillable pdf has fields for Name, address, city, state, and zip (as well as other infomation regarding an account). I don't mind filing this stuff in; however, after i fill it in the pdf, I also need to create a list of the same names and addresses in the following format name1street address1city, state zip1 name2street address2city, state zip2 . . . and so on for 3, 4, 5 . . . I would like to see if there is an easy way to take the fields off of the fillable pdf and put them into the word document using a tool or some script.
Hello, what I'm trying to do is change the background color of text fields based on a number in an array that matches with the name of the text field in my pdf. The numbers are 0 to 100. So if it is the number 0, it matches with one of the array elements then colors the background based on the first element. Here is the code I'm working on and I can't seem to get it to change the color, any advice on what I could do to make it work? ThanksBrian var colors = [ ['blue', 99,98,95,94,91,90,89,80,29,20,19,18,13,12,11,10,9,8,5,4,3,2,1,0], ['green', 25,17,16,15,7,6], ['brown', 24,14], ['red', ], ]; for (var x = 0; x < 100; x ++) { for (var i = 0; i < colors.length; i++){ for (var j = 0; j< 100; j++){ if (colors[i][j] = x){ getField(getNthFieldName(x)).fillColor = color.colors[i][0]; } } } }
Hi there, Very very new to javascript and still plowing through trying to get my document to work. I have had success with using this code (from George) on a spawn button to spawn two pages as XObjects, and then spawn two pages that refer to those XObjects (saving file space). var aTemplates = this.templates;var T1 = aTemplates[0];var T2 = aTemplates[1];var XO1 = T1.spawn(this.numPages, true, false);var XO2 = T2.spawn(this.numPages, true, false);for (var i = 0; i < 1; i++) {T1.spawn(this.numPages, true, false, XO1);T2.spawn(this.numPages, true, false, XO2);} This did well to shave the file size by over 50%, however I still have to spawn the XObjects each time for the subsequent spawns to have something to refer back to. The document is to eventually spawn 60 pages (30 generations of a two page template), and I thought I was oh so smart thinking that I could further save space by running the script in console to set the XObject pages, and then only app
Hello,I am looking for a javascript code that can save a specific page.The people who will use it all have acrobat reader DCIs this somehow possible because the dc version does not allow extracted pages.Is there another way to do this ?Maybe making a screenshot, or use something else ?I hope somebody can help me
I have a voucher form which when digitally signed, it autmatically inputs the current date in the "Date" field across from the digital signature. The voucher has room for three itemized line listings, with a "Date1, Date2 & Date3" fields at the beginning of each. I want the three subsequent "Date" fields to automatically input the same date I digitally sign the document (pull the same date from the "Date" field), but since I may only have one or two itemized line listings on the voucher, I don't necessarily want the "Date" fields on the empty line items to be displayed. I'm wondering if there's a script to pull data from one field, but only if a different field contains dats. Another thought would be to color code the "Date2" "Date3" fields in some manner that the data displays as "white" if another specific field (i.e. "SubAmount2", "SubAmount3") in that line item does not contain any data, and data displays as "black" if the same specificed field in that l
I've been trying to find some information on how to specifically reference a field name on a spawned page. My goal is to have my "spawn button" only displayed on the last page of the document at all times. I have currently have a hidden button on my spawn template, but would like to find a way to make it visible only on the last page (which is a spawned page). I've been playing around with this tutorial but can't figure out how to make it work for my purposes: https://wordwizardsinc.com/blog/finding-the-fieldname-prefix-on-acrobat-acroform-spawned-template-pages-using-javascript-functions/ Thank you!
I'm trying to create a simple script in which the selectged results in a drop-down menu field causes a specific response in another corresponding field. The "Property" field is a drop-down menu, and the "AccountingCode" field is where I want the specific result to display. The below script is what I entered in the AccountingCode field, but doesn't produce any result: var Property = this.getField("Property").value;if (Property=="property loss/damage") event.value = APC9AA6;else if (Property=="real property loss/damage") event.value = APC9BB6;else event.value = ""; Also, the Property drop-down field contains a blank entry (ie. 10 spaces using the space bar) to create a blank listing as the first entry on the default drop down listing. The purpose is to have the Property field default to blank to cause the employee to make a selection, rather than accidently tabbing through and using one of the pre-listed listings, which if blank, should reflect a blank in the Accoun
Hi I have Adobe Acrobat Standard DC. I want a vba code that can trigger the "EXPORT" to "Microsoft Excel Workbook" option.(see the attched snap) I have around 21k PDFs that need to be converted to Excel. I have tried adobe API references " iac_api_reference.pdf" and "Acro6JS1.pdf" I am intermediate level guy in VBA.
Scenario:I have 5 list boxes and they are linked hierarchically.Continent >> Country >> State >> Capital >> Post code Master list box: Continent names Dependent 1 list box: Country names Dependent 2 list box: State namesDependent 3 list box: Capital namesDependent 4 list box: post/zip codes Continent >> Country >> State >> Capital >> Post code The master list box has 6 continent names and rest of the each list box is populated with 75+ list items for country names, capital names, multiple zip codes within each city. Currently all list boxes from master list box to Dependent4 list box are connected in hirarchy oder and works perfectly.when I select Continent name is Master list box, I get right country names in Dependent1 list box. When I select the specific country in Dependent1 list box, I get the right state names in Dependent2 list box and so on.... Sample Example: 
I am new to PDF forms.I created three list boxes. Master List box, Frist Dependent List box, Second Dep List box.Master List box >> First Dependent List box >> Second Dep List box.I am trying to populate First Dependent List box based on selected item in Master List box. And trying to populate Second Dep List box based on item selected in First Dependent List box.When I select Master List box item, the First Dependent List box items changes accordingly.However I am unable to list any items in Second Dep List box and also unable to view any items in Second Dep List box when I select any item in First Dependent List box. I want :When Master List box item is selects, the First Dependent List box item should change. And when I select First Dependent List box item, the Second Dep List box item should appear/change. Master List Box >> First Dependent List Box >> Second Dep List BoxExample: Europe >> France >> Paris Can anyb
I have a form with 3 yes/no questions. I am using radio buttons (a, b, c). I need to trigger an event -- make a hidden text box visible -- only if the answer is 'yes' to all three questions.I have this code but it doesn't work. Not sure what's wrong. Please helpevent.target.hidden = !( (this.getField("a").value=="aYes") && (this.getField("b").value=="bYes") && (this.getField("c").value=="cYes"))
How can I embed multimedia (video and audio files) into a PDF that could be viewable offline? I am trying to make a PDF document for people to download before they hike a trail. In the document there will be the usual text and images, but also, I want it to provide video and audio. How can I do this so it may be completely viewable offline? Or is is this not possible?
I'm trying to make something like database.I use code in document level scriptvar fruits = {Apple:{ Color: "Green",Size: "Medium",Weight: "50" },};function SetFieldValues(fruits)I set fruit function in dropdown field where I select fruits ( in this case apple).Now I want to add text field with numbers to use same function, how to set my code so it depends on two fields(dropdown = fruits and text field = numbers)something like this:var fruits = {Apple, 1:{ Color: "Green",Size: "Medium",Weight: "50" },2:{ Color: "Red",Size: "Large",Weight: "80" },};How do i make it work?
I have an Adobe fillable form that I like. It was created from a Word fillable form that I imported and modified extensively. There are square shapes that were improrted for word (intended for checkboxes but only the square ouline imported). In adobe, I want to remove the square shapes to use the space for radio buttons. The radio buttons cannot be larger than the length and width of the squares to fit properly. therefore the corners of the underlying boxes show. Is there anyway to remove the imported squares? The squares are not selectable by the selection tool to delete. Ideas? I an using Adobe Acrobat Pro DC.
HiI'd really appreciate if someone could help me.I already have a script that will automatically fill non relevant fields a black colour when the user selects 'Contractor' from the drop down options. However I need other fields to be filled black if the user selects the other drop option 'Team Member' such as Manager Name and Job Title fields, etc.Can I add something to the below script to include this?var fields = ["Currency", "Salary", "Sal Basis", "Salary R", "Sal Year", "Per", "Per F", "Pro Day", "Pro Mont", "Note Day", "Note Mont", "Per", "Company Car", "Car Allowance", "Fuel Card", "Fuel Allowance", "PlanType", "LocalBonus", "Sub Plan", "Annual Target", "Target Amount", "Healthcare", "Local Healthcare", "Life Insurance", "Employee", "Employer", "Charged Segment",];//for (var i in fields) {var f = this.getField(fields[i]);if (event.value!="Contractor") {f.required = true;f.fillColor = color.transparent;f.readonly = false;} else {f.required = false;f.fillColor = color.black;f.reado
Hello all, So if necessary, since I know I can get a little long winded I put a tl:dr at the end. Thanks for your patience if you read all the way through!! I am working on modifying/improving a pdf form utilizing checkboxes that would communicate to other checkboxes, where the other checkboxes provide a total score. This is for conducting an evaluation on a given process.... What I'm trying to do is get a script so that if there are 5 requirements that need to be met just to receive the check that indicates pass instead of fail (multiple pass/fail events across the board). The trick is, if just any one of the 5 requirements is missed the check is not received, indicating that the entire event is failed. I'm hoping this is a clear enough scenario for someone to provide a base script that I can integrate, and maybe even build off of. I can read java, but have a hard time building without a base. Any help is greatly appreciated, and thanks in advance!! tl:drtrying to obati
After doing some research yesterday, I did notice that javascript should help me with this question but I have never written a script and I struggle with the concept when reading some directions as I have a form that I am making fillable and when you read their examples the questions do not show until the individual selects a box and checks it. On a form, most of the information is in front of them already so they will see it either way. I work for a Michigan intermediate school district (ISD) and currently I am making HR forms fillable. I have a question in section 1 of the attached file that has 2 checkboxes the person must select 1 or the other. Question A. is only a checkbox, but if the person selects B., then follow-up questions must be completed. How do I add a condition to lock B. checkbox and questions, if A.? If B. is checked, how do I group the questions so the person completing the form completes the required fields for B.?
Hello dear comunity,what possibilities are there to find an empty space (without characters and lines) in a document, for example a drawing, automatically via JavaScript to set a annotation with known dimensions? I have already found a more or less common solution via getPageNthWordQuads and going through all words, but drawn elements are of course not covered by this. The annotation will be placed, but covers parts of the drawing.Thank you very much in advance!
Without going into the details, I accidently clicked on a malicious pdf from an email. Warning boxes popped up asking me to allow or block access. I panicked, opened the task manager and clicked end task on all Adobe processes. Do I need to be worried that malware was installed on my computer or did killing the process before I allowed (or blocked) access stop the process?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.