Unlock the power of Acrobat SDK through our community.
Recently active
Hi - I am creating a form and need help. I do not have much javascript experience. I have multiple check boxes - when a box is checked I would like it to auto fill that name onto a bullet point list. Example: Check Box: name 1 Check Box: Name 2 Check Box: Name 3 when selected the list would look like this Name 1Name 2 Name 3 Thank you
Hi! I am trying to create an invoice form that will hold varying VAT tax percentages. Each row has both a total price before tax (Field A), and a number indicating the VAT % of that row (Field 1).I would like to show the total sums for three different tax levels on the bottom of my form, where each field would preferably autopopulate with the sums for that tax %. For example: Fields A, B, D, and G should be summed because fields 1, 2, 4, and 7 show the same number, while fields C, E, and F sum because fields 3, 5, and 6 show the same number. I am not super familiar with javascript but assume I will need to use a hefty amount of if statements.I've looked at this thread to try to figure it out but need some help figuring out how to code it for acrobat: https://stackoverflow.com/questions/50879417/sum-field-values-based-on-condition-in-another-field-in-javascript I'm working directly in Acrobat, right clicking fields > properties > custom calculation script. Woul
hey all, i am in the process of creating a form for jobsite management to use when tracking force account work. i pretty much have everything but ive seem to hit a roadblock. i have a couple dropdown lists and i want to have 3 fixed selections and the option for custom entry just incase its needed. so for example dropdown list 1 = employee classification: and the options are N/A, Journeyman, Apprentice. i want these 3 options to be fixed values which is easy but i would also like a 4th selection added called custom and when this is selected the user is able to input custom text. any suggestions are much appreciated. Thank you
I just recently switched over to the 64-bit version of Firefox v44.0 which was surprisingly painless. All of my extensions and plugins are working great with the exception of my Acrobat Create PDF plugin. I tested the 32-bit version of Firefox 44.0 and the Create PDF plugin is working fine so I'm assuming this has something to do with the plugin needing to be updated for 64-bit support.Are there any updates on the horizon or perhaps a hack/tweak to allow the plugin to work in 64-bit Firefox as well?
Hello: I am very new to this community but after some research I created a Dynamic Stamp that requests user input and then stamps a case number on my 100 plus page documents. Right now I have to stamp every page on the document. I would like the stamp to apply to every page automatically after the user inputs the information. This is the simple code I am using for my dynamic stamp. I placed it in the custom calculations porperties of a form text field. if ((event.source.forReal)&&(event.source.stampName == "#ClearStamp")){this.getField("Case Number").value = app.response("Enter Case Number");} That works great so I found this additional script from another post: /* Multiple Page Stamp */this.syncAnnotScan();var annt=this.getAnnots(this.pageNum)[0];var props=annt.getProps();for(var i=0;i<this.numPages;i++){props.page=i;if(i!=this.pageNum)this.addAnnot(props);} So I combined this script all together: if ((
I am combining multiple pdf forms into a portfolio.When I do so I am no longer able to TAB from one field to the next. How do I preserve this function?
-
Hi there, I am creating a pricing form for a client. I have a dropdown menu of services to choose from. We then have working calculation fields where they add in their [quantity] x [price] and then it spits out the total in another text box. All is working great. They've asked if I can add in a custom calculation if they select [Digital] from the services list, which then divides the [quantity] by 1000 and then multiplied by the price to calculate their total. Current calculations can stay the same if they choose any other service. Based on one dropdown item: [Quantity] / 1000 x [Price] = [Total] I'm sure this is doable, but i'm pretty new to scripting in the forms and can't find anything online to know what parts to start with. Any help is much appriciated.
I have searched and tired several javascripts, but being a beginner in this area I must have forgotten something along the string. I have a checkbox that if selected a sentence shows up. (I've named the checkbox and the text box, too)Another checkbox, that if selected also a popup sentence and another exisiting filed must be required and filled out.
I deal with larges sets of medical treatment records that I must submit to the government in my client cases in a specific order. The government wants the treatment notes ordered from most recent to the oldest. The records typically come from a doctor or hospital, however, in an order in which the oldest are "on top". Now if every treatment note for a given date was only one page, it would easy enough to get my records in shape for government submission by simply printing to Adobe PDF printer in reverse page order. But of course that is not the reality: treatment records for a given date can be multi-page. So for example the 3 pages for treatment records of ##/##/#### must be "kept together in the deck" so to speak. I am fortunate in that I can rely on this 3 pages already being in the right order (page 1, then page 2, then page 3) but I need to create some type of javascipt that keeps that group together, but puts it along with treatment notes for o
Does anyone have a way to use keyboard shortcuts to change the color of a field? I am trying to write a VBA code, that takes a status from Excel, and then exports that to a visual color in to the pdf. I can't use a mouse action because it is coming from a MACRO. Is there a different way to do something like this? Maybe change the color of the font? I am trying to think of many ways to figure this out and I'm drawing a blank. So, here is what I need to do...Complete an Excel spreadsheet that contains all pertainent data and a RAG (red, amber, green) status fieldMap the data from the excel spreadsheet to the corresponding fields in the pdf FormWhen I need to map the RAG status of the project -- (this is where I'm stuck) -- how to I tell the pdf to color code a particular text box, radio button, etc to FILL IN the object with a corresponding color from the excel file? I am open to all and any suggestions. Here is the issue, in o
Hey, is there anyone who could help me write the commend to my PDF form in JavaScript?What I would like to achive is function "if".If the responder give the answer "czynnik, który miał decydujący wpływ" then PDF plese open additional question below with required text answer.To make myself 100% clear i attached screenshot with explenation. Please, please, please help me. I would be very apprecieate for any tips.
I am trying to develop some software which works over the adobe acrobat software, essentially something like a plugin. The goal is to let users see some kind of interface on the adobe application to login and somplete some forms and then make api requests. Is there some way to have a html, css and javaScript based app running over the adobe acrobat application.
Hi,I need to write Russian text in a pdf document. I found the tip how to do this on the forum. The author advises to see the example https://github.com/datalogics/adobe-pdf-library-samples/blob/master/CPlusPlus/Sample_Source/Text/UnicodeText/UnicodeText.cpp. I downloaded this example to my computer, but I was not able to build it. The code contains references to some methods (for example, PDETextAddASText) which are not found in the standard Acrobat API. Tell me, please, how to build examples from the site above? Where can I download libraries and header files for assembly?Thanks.
Hi, I am a novice at scripting. I have the following fields: "MOT No Vehicles" – allows input of values between 1 and 25"MOT CH 1" … to "MOT CH 25""MOT CH Type 1" … to "MOT CH Type 25""MOT CH Days 1" … to "MOT CH Days 25""MOT CH Head 1" … to "MOT CH Head 25"Depending on the value of "MOT No Vehicles", these fields should either be visible or hidden.For example, if "MOT No Vehicles" = 10 then fields "MOT CH …1" to "MOT CH …10" will be visible and "MOT CH …11" to "MOT CH …25" will be hidden. Currently I have assigned variables "z" to field "MOT No Vehicles" and "aa" to "yd" to the other fields,I then have 25 if statements to determine whether to display is visible or hidden. Using the above example, my code is shown below. This code works fine but is very cumbersome and there must surely be a more efficient way to do this. Any help will be appreciated.if (z.value === 15){ aa.display = display.visible; ab.display = display.visible; ac.display = d
I have this little script for getting objects on a given page:function getFieldOn(name, p){//finds (the first) field on page p with 'name' in its name var fields; for(var i = 0; i < this.numFields; i++){ var f = this.getField(this.getNthFieldName(i)); if ((f.name.indexOf(name) > -1) && (f.page == p)) return f; } }I'd like to modify this so it can return a single object if that's all it finds, and return an array of objects if there are multiple objects sharing the same name or partial name. Can I have two types of return values like that? How can I modify this code?
I am trying to script a dropdown menu to spawn templates or multiple copies of the same templates (i.e., select "1", 1 copy of the template is spawned; select "2", 2 copies are spawned, etc.). The first issue is probably code (below: copied/altered from another community poster). The second issue: the actions are extremely limiting, and not one of the options includes selecting an item in a dropdown menu. So, if I select any of the "Mouse" options (Mouse up, Mouse down, etc.), the script spawns 1 copy just by clicking on the dropdown menu but nothing else. It's about as useful as scripting a button and clicking the button multiple times. //get the value from dropdown controlvar sel = this.getField("Dropdown").value;//determine the template namevar templateName = "";switch (sel) {case 1 : templateName = "Template";break;case 2 : templateName = "Template"; templateName = "Template";break;case 3 : templateName = "Template"; templateName = "Template"; templateName = "Template";break;c
I have a project with a template I hide to spawn pages from. It has several fields, and I don't rename when spawning. Most of the time, if I unhide the template and I mouse over any of the fields (except for the title) on the original template, I get a "Bad parameter." pop up. Why? Can I fix it?
Hello,I have a question I can't find anywhere in google. Is there any way I can copy text from CSV file into specific text fields into PDF using JavaScript? I need this beacuse I want others to have allways updated version of PDF file so everytime I have to change something I change it in that CSV file not in the code. PDF file has Drop down menu which changes text in text fields on selection and is easily done with JavaScript Actions, but as I said I dont want to change that in code, but in some CSV file when needed. Thanks in advance!
I have a project that creates pages from a template. Some of my fields are duplicated and not renamed, so I have multiple widgets of the same fields. I notice that when I delete pages, the widgets numbers adjust instead of remaining as they were. For example, the field 'NBI' is replicated. There are two instances on each page, and the template hosts #0 and #1. So my first page has #2 and #3, second page has #4 and #5, etc. If I delete page 1, the widgets on page 2 (which becomes page 1) become #2 and #3 instead of remaining #4 and #5. Does this always reliably happen? Furthermore, if I move a page around wih the thumbnails pane, the widgets do not renumber. This isn't expected from the users, but it's obviously possible... I have a check box that hides the bottom photo, caption, and info. The photo and caption are unique fields, so no trouble there. I need to be able to also hide the info fields. If I know for a fact that the number system reliably works
I've followed the instructions on creating a dynamic date stamp. The drama is I either have 2 results. The date that stamps is created is always displayed, or nothing at all. Neither are the desired result. Are there any scerity steps required to allow the javascript to run? Is it something else?That's the javascipt i've used:event.value = (new Date()).toString(); AFDate_FormatEx("dd mmm yyyy"); Any thoughts appreciated. Bruce
I've got an 8,000-page document with bookmarks. I'd like to rename the bookmarks with the Bates number range (or even just the Bates number of the bookmarked page), so I may then split the document into files named with the appropriate Bates number range. Been at this for several hours now, and can't seem to make more headway. I'm using Mac Catalina 10.15.2 and Acrobat Pro DC 2019. I'd sure appreciate someone's insight to get this done and off to the lawyers.
I am creating an inventory document for internal company use. How much can JavaScript automate within a document? As an example: An employee selects a number of storage racks by either entering text or selecting from a drop-down option. Based on the answer to that field, the JavaScript code can create a page with a table of field entries (current table desing is 46 rows by 5 columns; of those, 1 row/column for titles; 45 rows and 4 columns have text entry fields in each cell) - basically pasting an entire page that includes the table and a text entry above the table to title the table. Is there a JavaScript coding capable of doing this? If so, any examples? Thanks!
Hi Guys I'm currently using Adobe Acrobat X Pro. I'm trying to create a form so that when the user inserts a date into a field a JavaScript will identify if this is a weekday or weekend. Depending on which is entered it will then add a specific rate. i.e. Weekday = £65 and Weekend =£130. Can someone please help me or point me in the right direction? Thanks
Hallo,ich habe auf Windows 10 umgestellt, weil mein Photoshop auf Win 7 elendig langsam lief und Adobe das Update auf Win 10 als Lösung vorschlug. Leider.Photoshop CC läuft immer noch elendig langsam und nun ist auch die Thumbnail-Vorschau der pdf-Dateien nicht mehr da.Kann mir jemand sagen, wie ich die pdf-Vorschau in Win 10 wiederherstellen kann?Danke
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.