Unlock the power of Acrobat SDK through our community.
Recently active
Hello, I'm wondering if there is a chance to lock zoom level of a specific page in my document (using acrobat pro), so the end user could not change it. I know there is a chance to set a default zoom level, however it does not restrict a possibility to zoom in and out for end user. If there is no chance do to it using ootb tools, is it posissible to achieve it using javascript tool in Acrobat?
Hello Community. I am using Adobe Acrobat XI Pro. I’d like to do a Dynamic Stamp with an incremental number. So for example, I click on a stamp that says “SPOOL”, and each time it’s applied to the page the number would increase i.e. “SPOOL 1″, “SPOOL 2″, “SPOOL 3″, etc…. I would like also that countinous numbering could be edditable. So I could stop my actuall stamping and start again with “SPOOL 2″ for example. Is it possible in Adobe Acrobat XI Pro?
I had some documents on my adobe cloud this morning.. now 3 of those files are GONE! I tried to open them this morning that was fine. Then hours later tried again and got "ERROR". Went out and in again and then they were just GONE!!! Can you help me to find them again??
Hi,Could someone tell me the Tetra4d Enrich/Converter JavaScript code to import model into pdf where model is placed in a folder.I have gone through js_3d_api_reference but could't find anything related to import model through console or through JS.Any suggetions / help would be really appreciated.Thanks in advance.
Hi - I am new with javascript and seem to be hitting a bunch of dead ends. I am trying to create a form with multiple check boxes, Based on the selection of text boxes a full letter will populate. Right now I am using scrip that looks like this var a = this.getField("options").value;if(a == "a"){event.value = "Option A paragraph";}else if(a == "b"){event.value = "Options B paragraph";}I have done this script for all 10 chck boxes and have 10 coressponding text box fields to popoulate the informaton in. But I am now realizing that the paragraph options are all different lengths and the letter would have to be formatted each time. Is there a script that would auto format all the paragraph spacing? or should I use one big long text box (but it would have to be multiple pages) with a long script. Last question: can you format paragraphs with javascript ? Thank you
Hi - I am working on a PDF form that uses a custom javascript to auto fill text boxes based on check marks. Becasue there a few different selections is it possible to write a script that will auto format the whole document, so all of my paragraphs are equally spaced and paragraphs/lines wont have to be pushed up or down when the form is complete ? Thank you
Hi, I'm trying to turn off all layers that begin with a text string.So far I have:var l = this.getField("SELECT.Language").valueAsString;var n = this.getField("SELECT.Number").valueAsString;for (var x=0; x < ResetOCGs.length; x++){ ResetOCGs[x].state = false; }for (var x=0; x < docOCGs.length; x++){if(docOCGs[x].name == "Logo" ) { docOCGs[x].state = true; }if(docOCGs[x].name == l ) { docOCGs[x].state = true; }if(docOCGs[x].name == l + ".1" ) { docOCGs[x].state = true; }if(docOCGs[x].name == l + ".2" ) { docOCGs[x].state = false; }if(docOCGs[x].name == l + ".3" ) { docOCGs[x].state = false; }if(docOCGs[x].name == l + ".4" ) { docOCGs[x].state = false; }}I'd ideally like to get rid of Reset OCGs a turn off layers that begin with l + ".3".I was thinking something like l + ".3*", with the asterisk acting as a wildcard but it doesn't seem to work.Can anyone help please?This is a form created in Acrobat, with all fields created in Acrobat.
I have a text field whose required status is based on a selection made in a drop down. What I need to add to the code that I've already got (see below): if (this.getField("Bedrooms").value=="Points"){event.target.required=true}else if (this.getField("Bathrooms").value=="Points"){event.target.required=true}else if (this.getField("Occupancy").value=="Points"){event.target.required=true}else{event.target.required=false} Is that if this field is required it cannot equal 0. The problem is that any other time, it can be 0. I don't doubt that it is doable. I just don't have the knowledge to make it happen... Any help would be appreciated.
Essentially I'm trying to pull two different lists into two separate dialog "popup" lists but for some reason only one of the lists will populate at a time. I'm doing all this in a folder level script and I am unable to change that. The data is being pulled from a proprietary application. My code is below, please let me know if there's anything obviously wrong with it or if clarification is needed. function newElement(type, id, name, elements) { var ele = {}; if (elements === undefined) { elements = 0 } switch (type) { case "radio": ele = { type: type, item_id: id, group_id: 'grup', name: name }; break; case "check_box": ele = { type: type, item_id: id, name: " " + name }; break; case "edit_text": ele = { type: type, item_id: id, name: name }; break; case "popup": ele = { type: type, item_id: id, name: name, char_width: 10 };
I'm trying to use radio buttons to select a "sample type". Upon selection, I want the form to default certain tests to that particular sample type. For example, selecting PARTS would default the Salmonella, Campylobacter, and EB testing radio buttons on.. I'm fairly new to Acrobat and JS so any help or advise is greatly appreciated. I'm learning on the fly. Thank you in advance!
Hello,We are using Acrobat plug-in to save PDF from our application. For one particular scenario we are trying to save a non-english filename (like Chinese, Japanese, Korean, etc) to PDF. We are using AFExecuteThisScript to call the saveAs method to actually save the PDF file.As per documentation we found here:ASBool AFExecuteThisScript (PDDoc pdd, const char * cScript, char ** pRetValue)AcroForm Methods Executes a JavaScript script.Parameters: pdd The PDDoc in which the script is to be executed. cScript A string containing the text of the script to be executed. If Unicode, the string must begin with 0xFEFF and end with 2 null bytes. If this is not the case, it is assumed to be in the application's language encoding, as returned by AVAppGetLanguageEncoding. pRetValue To get a return value from the execution o
Looking to convert lots of documents to text. Need meta data about the document and the text. One data point that is needed is the indent. Need to know if a line is indented from the left margin and some sort of quantification of that indent such as spaces, tabs or something else. If such a tool does not exist I am willing to code it but this new to me. What tools might help solve this problem?
Hi, I am creating a an editable PDF with multple form fields including an image field. I have a shape that is 1.5x1.25" for the field. I want to know if there is a script I can add so the importaed image scales up so it fits the shape 100% instead of just scaling proportionaly to the width or height. Thanks D
Has anyone been able to accomplish this? This is a rather annoying 'feature' of Reader XI
Hello,I'm having a problem converting a scanned document from pdf to word. I'm using Adobe Acrobat Pro 9 on Mac.I'm scanning sections of a book into pdf format, then I have ran them through OCR by exporting them to word in order to get editable text. I have two problems: (1) The scanned document is in landscape, but I need the final editable text in portrait and the text itself to be formatted like a normal word document, i.e., not the format in which it was scanned but as if I opened word and began to type sections of the book, trying to mirror how it is presented there - I cannot simply change the orientation from landscape to portrait because its a scanned document, and everything becomes scrambled and the text doesn't actually fit on the page; and (2) some of the text is not showing up because there are glitches or missing portions of text, some areas have strange symbols instead of text as well.My biggest problem, at this point, is that I cannot seem to convert the scanned documen
Hi all, Trying to figure out the custom calculation script to be able to add multiple values of different form fields if a form field includes a value above 300. For context, I am trying to sum the number of upper division credits, (courses at 300 level or above,) for a form that I use to meet with students. In the attached file, I would love for "UD Credits" to add the value of "a" if "Fall 1" includes in a string a value above 300, such as MATH 321. I would then need to add the respective values of "aa," "aaa," "aaaa" and so on based on their respective left form fields. Sorry to ask this question! I'm very, very new at javascript and I've tried to experiment with the script by using boolean logic, .includes, etc. but I'm just not able to make anything work!
I am looking to create a new PDF with lines drawn on it.I was wondering if there was a way to draw lines/shapes on PDF using JavaScript. ( I know that this can be achieved by C++ coding or the comment mode function in PDF)
Dear Experts, kindly help in getting the appropriate currency in amount in words in the purchase order form.For ex. p.o currency is dollars, total amount is 200.50and amount in words should be like two hundred dollars and fifty cents.if another p.o currency is riyal, total amount 100.50and amount in words should be like one hundred riyal and fifty baisa.i have done amount in words using wordnum function.please let me know how to get the appropriate currency in the amount in words, which it should fetch from p.o currency field. Thanks & regardsYogi
Hi, we're trying to add headers and footers to locked pages. Long story short: We get about 300 pages of signed documents that we used a script on to flatten the documents then we could add headers and footers to the pages and save as a new PDF. However, the addon is too old and does not work any longer.Is there any other way to do this? At present we are running "Optimize PDF" with a few settings and that works but it is not an ideal solution. We would like to take the 300+ pages, keep them locked (either via saving as image or something), merge them all together, and add a footer (like page numbers, dates, etc...)
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?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.