Unlock the power of Acrobat SDK through our community.
Recently active
I have a form for which I made a Submit button.It will be sending the form to two different email addresses.I was able to find examples of javascript so I can use one of the form's fields as a subject line, however I would also like to have some other text in the subject as well, and I just can't seem to figure out how to add that.this.mailDoc({cTo: "email_1;email_2", cSubject: this.getField("full_name").valueAsString});Before "full_name" I'd like to have the Title Of Form. So the email subject like would be "Title of Form_full_name"I can't seem to get that to work... do I make it:cSubject="Title of Form_" this.getField("full_name").valueAsString});?Please help.
Hi:I am trying to to get a list to auto populate based on the users input in 4 seperate text fields. The user can type in their own information into 4 seperate text boxesI would like that info to be combined and put into a list in another text box.Example:Text field 1 : user input text 1 Text field 2: user input text 2 Text field 3: user input text 3 Seperate Text Field (would auto generate list)user input text 1user input test 2user input text 3 Thank you!
I've created a interactive pdf where the buttons reveal a number(which is a button itself) os there a way to create a calculation field in acrobat so that what ever number appears is calculated as a total score.
I have an issue that I am unable to resolve using previous posts. I am attempting to create PDF forms that are loaded with data that was preciously selected and stored in a database. Once the page is loaded, it is no longer interactive for the person and it is viewable as a read only. Although it is no longer interactive for the person, there are some additional fields that I would like to auto-populate on the form based on the data that is being loaded from the database. I have tried calculation scripts, validation scripts, action custom scripts, etc. These all work if the form is interactive and the selection is made on the form itself and not created as read only. I think the problem is that these pre-loaded fields from the database do not perform an "action" on the form after it is loaded and therefore these scripts don't execute. Is there a way to apply a script that will execute as the form is loading? Or is there another
Hi I'm trying to write the javascript for a custom command that runs through a document and finds all xobjects with duplicate object ID and changes the object IDs so they are unique. For context, the xobjects with duplicate object ID's is about 1-2% or less of all xobjects. I've been struggling to find which part of the api relates to what I want to do, if someone is able to point me in the right direction or have an example? Any help is much appreciated!
I want to create an annotation for a selected piece of text. I use the CreateAnnotations example for this at the page https://github.com/datalogics/adobe-pdf-library-samples/tree/master/CPlusPlus/Sample_Source/Annotations/CreateAnnotations.Create annotation:static ASAtom atH = ASAtomFromString ("Highlight");PDAnnot highlight = PDPageCreateAnnot (p, atH, & annotationRect);and set its coordinates and color (I use the SetAnnotationQuads function from the example for this).Naturally, only the main part of the code is given here.As a result, the selected text fragment is painted in the desired color, but the border of the selected fragment is not rectangular, as I would like, but some strange shape to the left and right of the text. This can be seen in the figure. Please tell me how to make the annotation border rectangular. I would be grateful for your help.
Question #1: I have several lines on a form to be filled in. If a line doesn't need information I would like the drop down menu to not show. (Ex below - I don't want the 101 - permits to show if not a description) I would prefer the lines to be empty. Is there javascript for this? Question #2: After I "prefill" the form and sign and then send to the end signer, my numbers don't show up in the correct format. I have them set in the form to "Format/Number" with the decimal and dollar sign. (Example - photo below is after the end signer signs the form - my numbers aren't in the format I had set up in the form $xx.xx)
The code found here: https://answers.acrobatusers.com/How-can-I-make-a-field-visible-based-on-a-selection-in-combo-box-q15194.aspxIs almost what I need, but unfortunately it only allows one text box field to be visible at one time. I would like the user to select multiple selections and have those selections appear. I currently have para1, para 2, and para3 text boxes defaulted to hidden. I have the below code in my List Box. Issue is that it only works to display 1 selection at a time. I want the user to be able to select several and then have the selected text box appear. I have attached my test document. Any help/feedback much appreciated. Thank you. this.getField("para1").display = event.value=="para1" ? display.visible : display.hidden;this.getField("para2").display = event.value=="para2" ? display.visible : display.hidden;this.getField("para3").display = event.value=="para3" ? display.visible : display.hidden;
I have a problem that I've been stuck on all day and I would appreciate any help. I have a vba macro that I've written in excel that opens a pdf in Acrobat and pastes the contents of a cell into the PDF as an image.My problem is at that point I want to be able to move the image to a different position within the PDF page. I can select the annotation using like so: PDFPage = doc.AquirePage(PDFview.GetPageNum) Set annot = PDFPage.GetAnnot(0) However, there doesn't appear to be any settings that can be used with this variable to determine position.I cannot use the function jso.getAnnot to set a variable because I do not know the name of the annotation. I have attempted to use the function jso.getAnnots() like so: Private AcroApp As Acrobat.CAcroApp Private doc As Acrobat.CAcroPDDoc Dim jso As Object Dim Annotations() As Variant Set AcroApp = CreateObject("AcroExch.App") Set doc = CreateObject("AcroExch.PDDoc") Set AVDoc = CreateObject("AcroExch.AVDoc") If
Here is my ongoing quest -- recently SOLVED, up to the point of delaying display of an Alert, by using setTimeOut. Now I seek to achieve delaying display of an RMA, similarly. Here's where I need help. My comprehension of ActionScript is still vague. I have been able to, in a scrpt, Play an RMA, by using an rm.callAS operation. This works, as seen with 'First Clip' on the left side of attached document: var aRM = this.getAnnotsRichMedia(0); // var used to ID any Clip on first page (PDF document page# minus 1) // var rm = aRM[0]; // get rich media annot for First Clip [RM List Position# minus 1] // if ( !rm.activated ) rm.activated=true; // activate the Clip-annot rm.callAS("multimedia_play"); // play First Clip, right away The 'Second Clip', on the right side, is to play, following a 2.0 sec. delay: var aRM = this.getAnnotsRichMedia(0); // var used to ID any Clip on first page (PDF document page# minus 1) // var
I have previously posted my Big Picture objective. Here, I take a Big Step Back, to get a grip on this, in the simplest context I can think of [welcome advice from (try67)]. But I am hindered by perilous partial-understanding of scripting [enough rope to...]. I've reviewed the JavaScriptTM for Acrobat® API Reference. I've scoured online references/suggestions/examples. I've created a slew of test documents. Almost without exception, they function 'dead in the water.' I am missing some things basic, and fundamental. I sense I get hung up on [despite awareness of need for precision]distinguishing Acrobat-oriented JavaScript from HTML/browser-oriented usesyntax precision -- e.g. case sensitivity, quotation-marks-or-not, ...app-level [Acrobat] vs. document-level vs. page-level management I've considered setTimeOut, and setInterval, all sorts of ways. Here's what seems the simplest case [courtesy Thom Parker, 2008]. U
For years, my colleagues and I have been using a font called Chartwell to produce emotional intelligence reports for our community-based clients. It's worked really well for us as we needed a cheap solution to be able to mail merge charts in Microsoft Word and output them to PDF. To make it work, you have to enable ligatures in your word processor.(Details on font here: http://image.linotype.com/files/fontshop/FF%20Chartwell%202.0%20User%20Manual.pdf) Recently, we have started to automate our workflow. It seems that the online versions of Microsoft Word are unable to a) handle custom fonts and b) handle ligatures of any fonts (grrrr). So, we decided to investigate if we could bypass Word altogether and create a PDF form with the functionality we need. We thought we could place our font-based Chartwell charts in a text field and use a combination of Microsoft Flow and Adobe Sign to fill the document with our assessment data. Using Acrobat DC, I was able to figure out how
I swap out pages on documents, with new items, comments (red underlines) and links - sometimes the comments and links don't come over with the new page when either Inserted (Tools/Page/Insert) or Replaced. Does anyone know of a way to make sure the comment lines and links stay with the page? It doesn't seem like I always have this problem but today i sure do!So to reiterate: I delete pages and then insert new pages with new links and underlines. But it doesn't bring the new additions in, the old underlines and links are there with the NEW page.Thanks for your help.
Hi Can I use JavaScript to set the Initial Vue of a PDF to "Pages Panel and Pages"? I know that I can do it at the document opening or using the Action Wizard but I want to include this in a larger script. Thank you
Hello Everybody,I’m new on the forum, so please be gentle if I have novice questions. I’m a graphic designer with a very limited (if any) programmer skills.I hope you can help me to find the solution for this Acrobat Javascript task. I have a pdf (this is the default one) and I need selected pages to link at the end of the this pdf. I mean there are about 10 checkboxes and the selected ones should link to the pdf (and also if it unselected should be dissapear again).The show/hide pages would be nice, but as I know it doesn’t exist in Acrobat.So my first questions are should I use– Page Templates,– Attachments (if it’s possible to link it to the same pdf) or– Layers?I tried the first one, so I made the Page Templates. It would be nice if we can have multiple pages in one Page Templates, but I suspect it doesn’t work.So I have these lines to add my two pages and it works fine:this.spawnPageFromTemplate(“Plan-A1”);this.spawnPageFromTemplate(“Plan-A2”);Is it possible to delete these spawne
Assume I'm quite adept with Acrobat Pro, knowing Multimedia Operations especially well. Assume that, though I've utilized limited JavaScript successfully, I'm far from expert, there. Objective (upon a singular Button event): Button Properties => Select Trigger => Mouse Up => Select Action => Multimedia Operation [Play 'Clip1'] -- then Add: Button Properties => Select Trigger => Mouse Up => Select Action => Run a JavaScript -- which Opens: -- JavaScript Editor --Java code says... [e.g. SetTimeout, or Delay, or Idle, or Whatever.is.Appropriate -- for n milliseconds] // next Action is postponed for n milliseconds, though 'Clip1' continues to play, uninterrupted, as is also the case for all other temporal processes within the document. -- then Add: Button Properties => Select Trigger => Mouse Up => Select Action => Multimedia Operation [Play 'Clip2'] End Result Summary:Button eve
I'm having issues with Adobe Acrobat X Pro Version 10.1.16. Whenever I try to merge Microsoft Word Documents with PDF's it does not automatically convert word documents. This feature was working fine a few weeks ago. I'm running Office 365 (Version 16.0.12430.20184) and Windows 10 (Build 1909)
I am trying to create a custom calculation script that will calculate an average using the HH:MM:ss format in a fillable PDF. The form has 12 fields to enter a time in the HH:MM:ss format, and I need to create a field that will average those 12 fields, and omit the fields that have nothing entered. I am familiar with javascript, but have never written. Can someone please help? Thanks in advance!
I have created bunch of Pdfs using LiveCycle designer.When I try to Edit the pdf using Acrobat Dc or Acrobat Pro I get a warning message. "This form cannot be edited in Adobe Acrobat. Please use Adobe LiveCycle Designer. "Now that Livecycle is out of support. I am looking answers for below questions.What replaced LiveCycle?Can i migrate the existing pdfs to the new tool instead of recreating the complete pdf from scratch ?I create pdf, Edit/Modify tagging, check 508 compliance and share it to users. which tool takes care of all the features without compatibity issues when shared over multiple teams?
Hello,I have a form where I have multiple fields (awords, bwords, cwords, dwords, ewords). I need the word counts from each of the 5 sections to add up into one total word count field. I don't need to limit the words, I just need the total number of words from each of the sections to add up into the total words field. Since my IT department claims they don't really do javascript, I am on my own. My team and I spending hours adding up each individual section to get total word count for form submitted to us. Having the word total added up automatically would be a total game changer. Thanks for any help! Michelle
Hi, We have a java script function that signs a document from a pfx file. This uses the signatureSign method. It works using a .pfx file at the moment. We are about to purchase a USB token device to sign documents. This does not have a .pfx file and will import the signature into the Microsft Certificate Store. I cannot find any examples of using the SignatureSign method with the Microsoft Certificate Store only with a .pfx file. I have spoken to various people and they all seem to think it is possible, but do not know how to do it themseleves. How do I use the signatureSign method to sign from the certificate store or if you know another way to do it how do you do that? The code below is for the Pfx file. It is a function in the javascript folder that you pass the signatures password and pfx file location to and it signs. DATL_SignFunc = app.trustedFunction( function (nPwd, nSigLoc, nAppearance) { // Additional code m
Hi,I am hoping someone can help me ASAP! I need to program an Interactive PDF that I am creating via inDesign that has 2 dependent fields derived from the answer selected from a drop down list. This is what I need :Catagory 1Steel Raw MaterialAxle TubesNo-Axle Tubes.... Category 2 John SmithJane DoeJohn Deere... Category 3john.smith@jane.doe@john.deere@ Basically if you choose from Category 1 I need Category 2 and 3 to autopopulate specific names.Example: If Cat. 1= Steel Raw Material than Cat 2 + 3 = John Smith + john.smith@ I am not a coder, so any help is greatly appreciated!
Hi I want to create an add-on button tool, when the user clicks it displays a popup menu (popUpMenuEx), and this menu list some custom stamps, allowing the user to choose one. I don't want to place the stamp on the page, I want the user to have the selected stamp on the cursor, so he just have to clic where he wants to place the stamp. I know how to create a button and a popup, but I don't know how to select a stamp with JavaScript and I cannot find usefull information. Is it possible? Thank you.
Does anyone know if this is possible ? I have a form that has the potential of 0 to 4 clients work of information to be filled out. If the person selects 3 clients I would like 2 client sections to appear, I know how to make a field "hidden" and visible. But is it possible for other form fields to move down automatically if more than one client is selected. So if there is 2 clients (when the option is selected) a second client section would appear but insert itself under the first client and then move everything else down automatically so it does not overlap. Thank you
Hi,I have a dropdown menu ("Dropdown1"), that I need to populate with options from the object I have defined below. How would I go about populating Dropdown1 with the names (Name1, Name2, & Name3) from the Class1 array?var oClassList = { Class1: [ {name: "Name1", company: "Company1", instructor: "Instructor1"}, {name: "Name2", company: "Company2", instructor: "Instructor1"}, {name: "Name3", company: "Company3", instructor: "Instructor1"} ], Class2: [ {name: "Name1", company: "Company1", instructor: "Instructor2"}, {name: "Name2", company: "Company2", instructor: "Instructor2"}, {name: "Name3", company: "Company3", instructor: "Instructor2"} ], Class3: [ {name: "Name1", company: "Company1", instructor: "Instructor3"}, {name: "Name2", company: "Company2", instructor: "Instructor3"}, {name: "Name3", company: "Company3", instructor: "Instructor3"} ] }; I tried the following
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.