Questions
Recently active
Hello,I have been working on designing a PDF where the first box auto generates the dates month in the format DD/YYYY, and the subsequent fields calculate in the same format, descending by 1 month increments from the date in the first field. The first box I have called Today, the subsequent boxes are listed as Today_1, Today_2, Today_3, etc. I.E.02/2018 01/2018 12/2017 11/2017 10/2017^This needs to auto generate to the current month, and then proceed to go back a month at a time for 105 boxes. I thought I had this working, but I am getting a lot of errors now stating that..InvalidSetError: Set not possible, invalid or unknown.Field.value:1:Field Today:FormatThe JavaScript causing this issue I am sure is one I have set as a Document Javascript which is:function getPastDate(Today, months){var cDate = util.printd("mm/yyyy",new Date(this.getField(Today).value));var sDate = util.scand("mm/yyyy", cDate);  
Hello,I am using text fields for time. My reason for this is because iPads tends to glitch out with PDF date/time formatted fields. iPads make it difficult to select a date/time because the pop-up field moves around/doesn't go away, even after selecting from the pop-up menu. I would like to have a custom calculation that calculates the total time between "Arrive Job and "Leave Job".As you can see in the screenshot below --an example would be:Arrive Job: 8 Hour 15 minutes AMLeave Job: 1 Hour 15 minutes PMI know that this equals 5 hours.So i think the logic would be:Arrive Job Hour + Arrive Job Minutes(Leave Job Hour + Leave Job Minutes) - would think that this should convert to military time if possible : so that If value = PM, and then if value = 12,1,2,3,4,5,6,7,8,9,10,11 - then subtract Arrive Job Total from Leave Job Total so 13 - 8 = 5.If the example was:Arrive Job: 8 Hours 15 minutes AMLeave Job: 9 Hours 15 minutes AMI know this equals 1 hoursSo i think the logic would be:Le
I have a time sheet that I have turned into a form and I would like to make the start date of the week auto populate the rest of the dates. Is there a way to do this? Thanks for the help.
The original file is a series of letters to send to customers. Each letter is two pages long; I already have an action to break the document up by two's and add a letterhead logo before saving each as a new file. I used javascript to separate them because I wasn't familiar with Acrobat's capabilities at the time. The customer's name is listed on each letter in the exact same place on each document. Is there any script that would be able to "read" the customer name (given it's in the same location on the first page of each letter) and save the file as that name? I thought I was smart when I found out a script to separate the file, so I'm not a high-level thinker when it comes to this. Any places to point me if there isn't a straight solution?
My mac recently crashed and I had to reinstall El Capitan and all my other programmes. Everything installs perfectly (Photoshop, Indesign, Illustrator) except for Acrobat DC. I've downloaded directly from Acrobat's website as well as through Creative Cloud but no luck. Several Adobe technicians helped me remotely but Acrobat simply do not want to install. I've looked into permissions and deactivate Firewall, Eset virus security, user profile and everything, but it still do not want to load. It loads up to 'running the package scripts' and then hangs and do not want to go any further. Is there any other advice or solution I could follow? Thank you.
Hi All,With a button click I am making my form read only and attaching it to an email.The only thing is I want to be able to hide all of the JavaScript buttons on the page.I am aware of the this way to hide buttons:this.getField("Email_Button").display = 1;The problem is I am using spawn pages and thus its hard to use the above bit of code to hide all potential buttons.Is there a bit of code that can select all buttons or cycle through all buttons on my pdf and hide them?Cheers,Seb.
Dear Script users,I'm having trouble with the getPrintParams.This what I want.This is what I have so far:var pp = this.getPrintParams(); pp.tileScale = .140;this.print(pp); But nothing works.The page has to center and scaled op 140%. Is this even possible with JavaScript?Greatings!
I have a An AcroForm that I use as a patient file Acrobat DC in windowsI'm asking if there is a way to save evey visit in an attached text delimited csv depending on the form feilds , and have a buttons to show the previous visits ?so the CSV will act as a log for the visits many thanks
Dear All,I hope somebody can help me. I'm not a programmer but need to create some calculations within a PDF form. I am trying to calculate the number of daily calories required based on a number of criteria. I have managed to make the calculation work if I am just looking at the values of each field but I need to take into account if the user is male or female. For example: If the user is male then use: 1066 + (6.23 * v4) + (12.7 * v3) - (6.8 * v2) and If the user is Female use: 66 + (6.23 * v4) + (12.7 * v3) - (6.8 * v2).I am performing the calculation in the Calories field.This is what I have so far which does work but doesn't have the capacity to change between male or female.(function() {var v1 = +getField("Gender").value;var v2 = +getField("Age").value;var v3 = +getField("Height").value;var v4 = +getField("Weight").value;var v5 = +getField("Activity").value;var result = 66 + (6.23 * v4) + (12.7 * v3) - (6.8 * v2);event.value = result;})();Thank you in advance.
I want to use AdobeDC in 64 bit C# application..As there is no version of 64 bit availabe for Adobe DC, i tried to build my C# application with 32 bit Adobe DC reference in my code but it gives error while building application.any solution to use AdobeDC in 64 bit C# application ?Thanks
I have created a form in acrobat. However, I don't want the .pdf document to be saved over the original form after it is filled in; so when the user saves the form, the "Save As" browser appears. Once I get that working, how do I enable the new document that was saved based off of the fillable form to not retain the 'Force Save As' language, and act normal when I go back and edit it?I basically want the .pdf form to act like a .dot file (template) in Word
How can I change the size when editing a 8.5x11 pdf to 10x12?
I have two similar questions;1. I would like to make fields in my form required based on the value entered in another field. i.e. field a > 10 then field b is required2. Alternately, I would like to make field d required if there is any value in field cThank you ahead of time for your help.
First off, thank you to anyone who takes the time to read this and attempt to help me.I made a PDF form with check boxes. I used a mouse up Java Script so that when the check box is checked aka "Yes" the fill and font are a specific color: I then made a Clear Form button which when clicked does clear all the check boxes but it leaves the form boxes with the fill color of when the box is checked instead of going back to unfilled. The only way to then clear the form box fill is to check the box and then uncheck. I have over 100 check boxes. To clear the check box fill one by one would be a pain in the arse. Any thoughts or suggestions?
hello, i am new to acrobat javascript but have been managing pretty well following forum advice i have found for each topic i have come across until now. I am trying to populate a field with an if/then statement. I have employee names that I want to be populated into a certain field when the adjacent field has the 4 digit employee number entered into it. I found an old thread but no matter what I tried, i can not get the script to work. Here is what I have so far. For reference, Emp.0 is the employee number field and NameRow.0 is the employee name field. I have the following formula plugged in to the custom calculation script of the NameRow.0 field. Employee numbers range from 0190 to 7xxx so i didnt know if have a leading zero in the employee number is throwing anything off either for the first two i was trying to get to work. var v1 = +getField("Emp.0").value; if (v1 === 0190) event.value = "jane doe"; if (v1 === 0210) event.value = "john smith";I have also tried th
Every time I open a pdf in Adobe Acrobat Reader DC, and click Sign in, I enter my account information, then sign in, but then it comes back with an error window that pops up saying "An Error Occurred", then does not sign in.... This only seems to happen from the Reader, and I know my ID and password are correct because I signed in here just fine.PLEASE help me with this as Support will not provide help for a free product like the READER....Thanks in advance!!
Hello guys, I want syntax and functions for find and replace actions. If anyone knows please assist me. Thank you.
Hello everyone, I was wondering, is there a javascript that I could use to that would show and tell the user that they didn't click different button? And, if they have clicked the button it wouldn't show the alert. It's just kinda a reminder to click the other button. Can it be done? If so, can you share the script? Thanks.
I have a Drop Down (Drop Down 1) with 3 options - "Yes", "No", and "SELECT YES/NO"I am using this because I think it will be easier to manage that Radio Buttons or Check Box groups for Yes/No.1. How do I "reset" the Drop Down to have no selection - so I dont have to use a "SELECT YES/NO" type of field. How do I get that drop down to just be Blank by default, until the User selects something?2. Based on the output value of the Drop Down, I would then like a series of 10 more Drop Downs to be Required. If Drop Down 1 is Yes - then 1 Text Field is Required, and 10 additional Drop Downs are Required - and the from cannot be Submitted using a Mouse Click Submit action until all 10 required Drop Downs are populated. If Drop Down is No - then 1 Text Field is not required, and 10 additional Drop Downs are not required - and the form can be Submitted using Mouse Click Submit Action. Note: These are all Yes/No fields - so if there is an easier way to do this with Radio Buttons or Check Boxes - t
Forum,I'm looking for assistant building a script to determine if a bookmark is an even page.If true, insert a blank letter before it.If False, do nothing.Thank you for any leads, I'm using Acrobat Pro 11 on windows 7.
Im learning Javascript to help me with my pre-press automation. Can someone tell me how to run the Preflight "Convert to CMYK only (SWOP)" with javascript? Thank you.
Good morning,I have a form that I need the following:The user will enter the number of bike crashes per speedI would like the "Results" field to look at the "# Bike Crashes" and list the top three speeds in this format:Speed 20, 55 bikes crashes, Speed 30, 61 bike crashes and Speed 25, 33 bike crashes.What script can be used to perform this task?Thank you in advance for your help.
I can compile the BasicPlugin just fine.Now I'd like to add libraries, namely <vector>. But doing so will result in the error `fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.'. Commenting out line 707 in CorCalls.h seems to fix the problem, but I have no idea what this will break in turn. Is it not possible to include anything in Acrobat plugins or is there a way to fix this?[...]// Acrobat Headers.#ifndef MAC_PLATFORM#include "PIHeaders.h"#endif#include <vector>[...]
Good morning,I have a form that I need the following:The user will enter the number of bike crashes per speedI would like the "Results" field to look at the "# Bike Crashes" and list the top three speeds in this format:Speed 20, 55 bikes crashes, Speed 30 has 61 bike crashes and Speed 25 has 33 bike crashes.Thank you in advance for your help.
Hello,I have a 1 page PDF form which I have set to be a template. I have added in page numbers up in the top right of the header (page 1 of n). I have also added a button that when pressed will execute the following code:var t = this.getTemplate("Template");t.spawn(event.target.page + 1, true, false);The problem is when the button to duplicate the pages is pressed the page numbering remains "Page 1 of 1" on both of the pages.Is there some code I can add to the button that will tell the page numbering to update after I have added the button is pressed and the new page added?Cheers,Seb.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.