Questions
Recently active
Thanks in advance for your help!I have a form that tracks expenses for a six month period and tracks an average for each expense listed. Three months in, you get the average for January, February and March; April, May and June would not be included in the average since there are no values in those fields.The calculations work out pretty well until I try averaging the TOTAL EXPENSES during that same period; for example, the AVERAGE TOTAL January expenses, February expenses and March. It results in a average of all six months, not just the three with data entered.Here is the script for the AVERAGE TOTAL Monthly Expenses:event.value = Avg('ESExpenseMonthly_01_TOT', 'ESExpenseMonthly_02_TOT', 'ESExpenseMonthly_03_TOT', 'ESExpenseMonthly_04_TOT', 'ESExpenseMonthly_05_TOT', 'ESExpenseMonthly_06_TOT');Again, thanks for your help.
I am trying to make a script where once a checkbox is clicked, it take information from two field, then each populates to it's designated area. And if the checkbox is unchecked, it removes that information. So far, I have a script that can take information from one field to another. I posted the code below. if (getField("Box1").value=="Yes") this.getField("profile").value = this.getField("Landmark").value;if (getField("Box1").value=="Off") this.getField("profile").value = "";So how would I attempt this? I posted the code of how I thought it could work below.if (getField("Box1").value=="Yes") this.getField("profile").value = this.getField("Landmark").value;this.getField("main house").value = this.getField("Landmark Price").value;if (getField("Box1").value=="Off") this.getField("profile").value = "";this.getField("main house").value = "";Basically, when the checkbox is checked, I want field "Landmark" to populate to field "profile" as well have field "Landmark Price" populate to field "m
I am having issues with one of my scripts. I have a sequence where I check a box and information from one field goes to another. This scripts does exactly that. But when I unchecked the box, it's supposed to remove the information from the field that was populated. When I do this, I get an error saying "The value entered does not match the format of the field ("main house")", which is the name of the field. Both these fields are formatted into numbers. The only way I can fix this is formatting it to a non-number. I don't get it because it populates just fine when they are formatted to numbers. Only when unchecked to remove the info it does this. Is there anyway to fix the javascript where it will work when the field is formatted to a number? This is what I have for the javascript on the checkbox.if (getField("Box1price").value=="Yes") this.getField("main house").value = this.getField("Landmark Price").value;if (getField("Box1price").value=="Off") this.getField("main house").value = " "
I have a very large form where I have set the border color to red on multiple fields because they are important to check but may not be required. We're talking 100+ Fields some unique and some duplicated. Now that I have finished making the form I am trying to determine the best way to make the red borders show up for users filling in the forms but not print when they print the forms. I was hoping to work out a solution that would change all text fields, radio buttons, check boxes etc to transparent border using the strokeColor property like so from the DC SDK Documentation: for ( var i=0; i < this.numFields; i++) { var fname = this.getNthFieldName(i); var f = this.getField(fname); if ( f.type == "text") f.strokeColor = color.transparent; }However this has not worked on the Document will print event. I was trying to get the bare minimum to work too as worst case scenario I could just get every field with red borders individually
How do I set up the check-boxes to auto-populate fields when checked, then remove the info from the field when unchecked. I am a complete beginner when it comes to javascript. This is what I have soo far based on looking at online forums.Basically the checkbox represents a product. If the person is interested in choosing this product, I want them to click the checkbox so that info goes to the next page for the final form. If they accidentally click the checkbox, I want the information to be removed. if (getField("Box1").value!="Yes") this.getField("profile").value = this.getField("Landmark").value;if (getField("Box1").value!="No") this.getField("profile").value = " ".value;I inserted screenshots below. The one checkbox that says "Landmark" is the Landmark Field. The second screenshot, I want that information to go to "Product Name" which is the profile field. I only did this one check box, but plan on having all the selections, in scree
Is there a way to display all the text and what font each text item is in the console with javascript?The text are not fields of any sort. This is a "cover page" with maybe 15 words on it that was created in word and saved as a PDF.I'm using Acrobat Pro DC
Hi,I am currently working on a large form, with a lot of images. Like, A LOT of images (200 give or take). In the form, these image's states of visibility are changed by a different checkbox with a bit of javascript, and either the images are "hidden" or "hidden but printable". However, when I reset the form, the images visibility's are not reset. This leaves the whole form so that the checkbox's states and the images visibility's aren't aligned anymore (IE a box will become unchecked after a reset, but because the code on the checkbox doesn't run, the image doesn't switch its state of visibility).I am trying to figure out a fast way to reset all of the image visibility's to "hidden but printable" once the reset button is hit. I am not able to put every name of every image into an array, because of sheer volume (I have several different forms like this.)Does anybody have any ideas?(I have had a few ideas on how to do this but don't know how to execute them)- Attach the same
Hi there,I am wondering what the JavaScript for turning off the "Highlight Colour" on a text box once you have filled it in - Adobe Form - is ? I would like to add it as a "Mouse Exit" - action. Thank you in advance!
I'm an intern working on a program that uses the OpenXml SDK to modify some info in a word doc and then convert it to PDF using interop. Unfortunately I am unable to programmatically password-protect the PDF or change any of the security settings with interop. I'm looking for a way to do this that doesn't require me to release my source code or require my employer to pay for a software license. I've heard that I might need to write a plugin in C++ and then use unmanaged exports to call it in C#. Is this true? What are my options?
Alright internet. I have a recurring issue with a form that many users access. There are 2 date fields on this form, and they are surrounding what we will call "receipt of complaint". Date field 1 is "today's date" and is the day the form is filled out. Date field 2 is "date you became aware of complaint". The problem i am having is users are mixing the fields up, which creates the (impossible) scenario where we became aware of the complaint after the form was completed. Not feasible, right?I need "Date Field 1 - today's date" to be 'equal to or greater than' "Date field 2 - date you became aware"Hope this makes sense - would be a huge win for me if i can create a systematic way to drive this. Much appreciated!
Hi all,I need a script that will run a save as function allowing it to auto name the file from certain field names. I know this would have to be a folder level script, but I wanted to know if it is possible to have a dialogue box come up for the save allowing you to navigate to the folder you want to save as (the folder location won't always be the same)Is this then executed using a button?
I adobe form field I want to calculate numeric field X = sqrt (numeric field A *numeric field B /3600)all numeric fields are text fields.How do I enter the script in calculation script ?
completely new at this, and although I am reading the JS Developers guide, I will not have enough time to complete this project without some help.there is a Group named Contract Type with 5 Radio Button choices on page 1. When one of these Radio Buttons is selected, it would need to auto check a number of Check boxes on page 2. Each CB has it's own unique name. Using X Pro.IE: RB1 - Check CB1, CB2, CB4 RB2 - Check CB2, CB3, CB4, CB5 RB3 - Check CB1, CB2, CB3, CB4, CB5etc.Can someone help with the code?
Is it possible to export the OCR in a PDF into an XML file? I've tried using File - Save As - XML (with various settings), but that doesn't save the OCR'd text.With Content Editing - Export, there is no XML option.OCR seems to be output with every other file type, except for XML.I've also tried saving as a Word document, and then saving the resulting Word doco as XML. But that doesn't work either as it seems to turn images into XML. I just want the OCR'd text.I'm using Adobe Acrobat XI Pro.
Good evening,I need help with the below table. Is there a simple script to total the time in an adobe acrobat form?Thank you in advance for your help.
Hello,I am using Adobe Acrobat Pro DC to create numerous PDF forms for my company. A good majority of my work day involves working with Acrobat. After upgrading to DC recently, my tab order NEVER stays put. I'll spend 10 minutes arranging a section of fields, then as soon as I hit "Preview", the order is completely screwed up. Returning to the Edit screen shows the order in shambles again. So I spend another 10 minutes re-arranging the same section, and hit Preview again. The order has scattered once again. It usually takes 3 or 4 tries of doing this until the tab order is "locked" in place and results in me wasting an ungodly amount of time.I do have my tab order set to Manual and have unchecked the "Automatically adjust tab order when modifying fields" box in preferences. This has done absolutely nothing.Any advice would be greatly appreciated! I am incredibly sick of dragging fields around when my time could spend elsewhere.Thank you!!
Hello Adobe Community,I am hoping to get some help with a work problem I recently "inherited"... The company I am working for has rendered my services to help them get their information system application migrated from Windows XP machines to Windows 10 machines. The core components of the program were developed in Visual Basic 6, Crystal Reports 8, and Adobe Acrobat 5. I already know 99% of peoples answers are along the lines of "You need to upgrade" or "Why are you using that?!". For those people, the answer is simply because my immediate need is to use what I was given, and the eventual plan is to migrate everything over to newer versions of these core components.I have made some code adjustments already and found some other updated drivers for other dependencies, and so far through initial testing, it seems the application is performing as expected.Unfortunately, yesterday, I hit a major snag where the application is trying to print to the "Adobe PDFWriter" printer, which doesn't s
How do I do this?
I am trying to open a file using a javascript dropdown menu. I know acrobat allows users to open a single file using the standard features, but I have about 30 different files that need to be referenced.
Hello all,I have started some online basic javascript classes to try to lessen the amount of simply questions I have but in the meantime, my fields guys had one request that I have been working on for a couple days now with no success. On our timesheet with days of the week where users input the hours they worked for the day. I currently am running a document level script and it is working great except some users would like to enter an "X" instead of a zero for the days they dont work. I believe there is a way to pull the value of the field and use an if/then statement but everything I have tried to date is not working or gives a NaN result. Because of it being a weekly calculation, there are multiple variables I am using so I wasnt sure if I was to run an if/then statement for each day or one time toward the end of the script. Below is my script and what I have tried to date. I know some scripts are still pulling the value as a number with the "+" but remember I was just trying to get
Hi, I have Adobe Acrobat Standard and I want to create a form that autogenerates a unique number (like invoice number). I think I need to use Javascript but this option is not available. Can you please advise? I also need to mention that this form will be used for different users with Widows and Mac computers.
How to check a date entered is greater than current date? i.e. not expired
A few months ago, I set up shared reviews on a SharePoint server, and they've been working fine. But now I'm getting an error when I try to send a PDF out for Shared Commenting: "The file destination is not valid. Enter a valid location." The only option on the dialog is, "OK." Also, all my files that I've sent out for review over the past few months now have this error: "Could not get new comments. Adobe Acrobat DC cannot access the network. Please verify your computer's network connection and try again." My connection is good.So my question:How do I change the network setting if something has gone wrong with it? I've searched the Help, and looked all over the app, but I cannot find a way to specify network location for reviews. When I try to start a new review, all it gives me is the error saying the destination is not valid -- it doesn't let me view or change anything. I tried repairing the app under the Help menu, but that didn't help. I'm at wits end. Please help.
Hi guys!May be someone could help me. The fact is that:I would to create a field that control email address, in the sense that the field should verify the presence of an address that contain "@" and an extension like .com, .net, etc. etc.Suggestion?In true, i've a second (quite) related question: how can I make a control field that admit only letters, no numbers or special characters?Thanks
On the PDF form I have created I would like to create the following functionality.If all standards (1.1.1, 1.1.2, 1.1.3) are "meeting" then standard 1.1 rating is "Meeting Standard "If any standards (1.1.1, 1.1.2, 1.1.3) are "working towards" then standard 1.1 rating is "Working Towards Standard"If no criteria selected then "Not Yet Rated" is displayed.I have followed these steps to achieve this but the calculation is not performing correctly.I have set radio buttons fields "1.1.1, 1.1.2, 1.1.3" to = 1 for Meeting and = 0 for Working towards.I have created a tally "1.1 Tally" that sums these (working correctly - displays 1,2,3 as the 3 Meeting boxes are selected - counts back down if changed to working towards)I have added a calculation to field "Rating 1.1"var Tally = this.getField("1.1 Tally").value;if (Tally == 3) {event.value = "Meeting Standard";}else if ((Tally <= 3) && (Tally >= 0)) {event.value = "Working Towards";}else {event.value = "Not Yet Rated";}However - I
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.