Unlock the power of Acrobat SDK through our community.
Recently active
I've created a form that contains a template page that is spawned using a button. I want the users to be able to delete the spawned pages by either all with a reset form button or by a delete page button on the spawned page they want to delete. The reset form button works with the javascript:this.deletePages(2, this.numPages-1); but For the delete page button I have this scriptthis.deletePages(this.pageNum, this.pageNum);pageNum = pageCount; It works in removing the page but a window pops up as "Bad Parameter". I think I'm missing something. Additionally I have a field that populates the total spawned pages with the scriptvar numpag = this.numPages - 1;event.value = numpag;this.calculateNow(); But when the page is delete or the form is reset, it doesn't update. Please help!
Hi,I do not know Javascript and would really appreciate if you can help me how I can autocalculate with adobe acrobat form. Here is what I want:End time1 = 23:30 #this is in HH:MM format and should be entered manuallyStart time2= 23:31 #this is in HH:MM format, should be autocalculated, and is equal to End time1 + 1 minute. Thanks in advance.
In this form, I want to order the fields so that the users can move from field to field in order by using TAB key. I can´t find where to order the fields. I can´t find the "Field Pane". How do I find it?
I am trying to find some information on the differences between document and page scripts. From what I was reading, scripts that run when the document is opened is a document script. Since everything might not be initialized by the time my script runs, I was told to run a page open script. I can't find how or where to do this. Any help will be greatly appreciated!
Acrobat DC.I want to set the text field properties as Font size - 9, font colour - dark blue, font Helvetica, height - 0.17 Inch.For radio button field; fontsize- Auto, text color - dark blue, Border Color - black, Fill color - White, Line style- solid, line thickness-thin, width and height - 0.14, checkbox style - cross.Same property for check box also. If possible, I have to run a script on each form I create. Can anybody help. Thank you.
Please see the Windows comment In AVProcs.h below:/**Acquires the platform-specific object needed to draw into the Acrobat viewer's document window using a platform's native graphics calls. When done, release the context using AVPageViewReleaseDrawContext(). @9397041 pageView IN/OUT The AVPageView whose platform-dependent port is acquired. @9397041 contextType IN See DrawContextType definition in AVExpT.h@Return A platform-dependent value: <TABLE rules="all" cellspacing="1"><TR><TH>Operating system</TH><TH>Value</TH></TR><TR><TD>Mac OS</TD><TD><code>GrafPtr</code>.</TD></TR><TR><TD>Windows</TD><TD><code>WinPort</code>.</TD></TR><TR><TD>UNIX</TD><TD><code>Widget</code>.</TD></TR></TABLE> @SEE AVPageViewReleaseMachinePort @Since PI_
Hallo, ich habe ein Formular in InDesign gestaltet und als PDF exportiert.Ich habe ein Textfeld erstellt, darin soll automatisch beim ersten Öffnen das aktuelle Datum in dieses Textfeld eingefügt werden und nicht wieder verändert werden (auch nicht beim nächsten Öffnen). Der Code:if(event.value == ""){event.value = util.printd("dd.mm.yyyy", new Date())} Nun bin ich der Autor und ich muss den Code im Acrobat erst mal reinschreiben.Allerdings setzt er mir jetzt schon das Datum, welches erst beim ersten Öffnen und Speichern des eigentlichen späteren Users passieren soll? Wie kann man dies lösen?Danke ----- Hello, I have designed a form in InDesign and exported it as PDF.I have created a text field in which the current date should be automatically inserted into this text field the first time it is opened and should not be changed again (not even the next time it is opened).The code:if(event.value == ""){event.value = util.printd("dd.mm.yyyy", new Date())}Now I am t
Hello my Friends, I need your help for this problem and I need the code for this issue. Here the details for this form. In the the Status Dropbox there 3 categories ( Pending, Invoice and Release) When I select the “Pending” Status in dropbox, then select the Reservation date and select the Deposit Dropbox (yes or No) then result in Over due text boxif “yes” selection from deposit dropbox = display in overdue textbox is “14 days"If “no” selection from deposit dropbox = display in overdue textbox is “ 3 days” If the status select, invoice and release not showing the overdue. Mean blank only. Only the Pending showing the output in over due textbox. Please refer the sample in excel in attached. So that you have idea what I mean. The main point there is if you change the date automatic the over due is change the no. of days. Also, the pdf file sample but without code in over due because I don’t know how
Hello, I'm pretty fresh with javascript, I have written the following code that works as the following, the first page of this pdf has a lot of information that the customer will fill out, community name, price of home, sales tax and so forth. Once this information is filled out they will click a button that will auto populate this information into the next page, most of it is just copying information down. I would like to however be able to have it auto run the script and or once you click the button once it keeps running the script maybe to keep updating the fields because if they were to change the prices or other price information I would like for it to update the totals and so forth, this way if someone were to go in and edit one of the price fields it would then re-calculate everything on the form automaticaly instead of them having to re-click the calculate button again? Is this possible, does this make sense what I'm trying to do? Here is my very basic code below, not
This script works almost perfect: var pageCount = 0;var pagePos = 0;pageCount = this.numPages;pagePos = pageCount+1;var b = getTemplate("EVC");b.spawn({nPage: pagePos, bRename: true, bOverlay: false}); I have one issue with this. How to do get the page view to jump to the newly generated page when this same button is clicked? Currently the page view is staying on the same page and then I have to scroll to the next page, so I can't tell if the new page is generated unless I'm watching the page numbers change.
Hello! I'm developing a third party plugin for creating digital sigantures in documents.It's based on the example from Adobe Acrobat SDK - DocSign Plugin.In my plugin I don't need dialog "Sign as..." due to my own custom dialog.Therefore in the DocSign plugin in the function DSEngine::sigGetSigProperties(PSSigSigPropParams params) I do such initialization:params->outDialogStatus = kPSSigDialogNone; Then when I create a certification signature with this DocSign plugin Acrobat offers the dialog with permitted actions after signing, and it's OK.But when I create an approval signature Acrobat doesn't offer similar dialog with the option to lock a document after signing. As a result it's impossible to lock a document at all. Is it correct Acrobat behavior for approval signature?How can I lock programmatically a document after approval signature? May be I need to make other initialization in plugin?
Good Day, Kindly, Could you advise how it is possible to enable printer to a certain user only ? I need to open a document with a password , and then have the printer option for a certain users only Would someone advise what is the right process Regards
Please help with javscript in text field custom calculation field in Adobe Acrobat Pro DC fillable form.I have a NO and YES checkbox, with a TextField that will be NULL or have a text value.I want a check in the checkbox NO, if the text field is NULLI want a check in the checkbox YES, if the text field is NOT NULL Thanks in Advance! I saw this script on a user board below, but receive a syntax error at line 7, but don't know how to fix.if((String(event.value) == "") || (event.value == "")){this.getField("LB8No").value = "Off";this.getField("LB8Yes").value = "Off";}else if(event.value <> ""){this.getField("LB8No").value = "Off";this.getField("LB8Yes").value = "On";}
Hi, I made my first form and everything is working good. That was my first time creating a form and my first try with JS. I know thatmy calculations are porbably not optimal, but i'd like to figure out something without starting all over or make dramatic changes to my form. I'd like to know if there is a way for my calculations to be faster. There is a little delay when choosing an item in many fields but specifically in those fields :Type de collageProduitI can see that the calculations are runing. It could be anoying for the customer to wait everytime he choose an item.If someone has a clue for me it would be appreciated.I am working on Adobe Acrobat Pro DC.My form is in french. Here is the link to my form :https://documentcloud.adobe.com/link/review?uri=urn:aaid:scds:US:2c98e0b3-8af5-4701-972d-85991c54ca48Thanks, Kassandra
I have 4 radio buttons with a button style as a checkGroup name Shippingradio button choicesNon-Emergency Parts Order1Standard Overnight1Priority Overnight12nd Day Air1 What I would like to do is this:If the radio button selected is "Non-Emergency Parts Order1"then a field value of "EmerText" will be nullif it is any of the other 3 then "EmerText" will have a value of 'Rush" I will then put the "Emertext" on the sujext line as followsvar subjectLine = EmerText + "D"+this.getField("District Office #").valueAsString + " " +this.getField("Customer name").valueAsString + " SR " + this.getField("Original SR #").valueAsString; Following is the code I have. Issue is that it is not null when I chose "Non-Emergency Parts Order1"Please helpvar EmerText = this.getField("shipping");if(event.target.value=="Non-Emergency Parts Order1") {EmerText="";} else {EmerText="!!Rush ";} thanks
Hi,I’m writing a script for a dialog box including a dropdown list.Items of the list are depending on some variables, so I build a script line like that (here for 5 variables):var theList="dialogBox.insertEntryInList({\"LCou\":{"+var1+": -1}});dialogBox.insertEntryInList({\"LCou\":{"+var2+": -1,"+var3+": -1,"+var4+": -1,"+var5+": -1}});";then, in the dialog box building, I recall this string:eval(theList);That works fine as long as there is no space in the text of each variable, but that doesn’t work anymore as soon as there is a space.I tried to replace this character by the Unicode character, the result is the same.At the moment, my solution is to replace each space by an underscore…Does anyone get an idea to solve that? I would prefer display a space when needed.Thanks in advance.
Dear AllWe are creating tagged pdf from InDesign file. We are doing the following activities1. Set alternate text for images in InDesign file2. Create pdf using Interactive tagged pdf option from inDesignwhen showing the image page, it show yellow box with alternate text. I have attached screenshot for your better understanding Our customer statement is highlighted below:"The publisher is finding that when they hover over most of the pages, the alt-text pops up in a yellow box. Is there a setting that can change to have that not happen? Some of the text boxes are huge and would be very distracting for the reader.""Is it Adobe Feature?"Please advice that how to disable the yellow pop box. But alt text should be present in the pdf without pop up message. RegardsJayesh
as picture below when a PDF published I can read the words, but when I insert another PDF file the letters turn to boxes.
Hey Adobe Community, I'm trying to send a fillable form's contents to a Webhook in JSON format through button click. I tried the direct send at first but the webhook does not support the content type (presumably the entire pdf) so i'm trying to parse the form fields in JavaScript and send that way. How can I access the form fields in the JavaScript window? Or, is there a better way to accomplish what I'm trying to do? TIA
I have a form that needs several required fields. However, when a certain checkbox is checked,some of the fields are no longer necessary and need to become "not required" anymore.Is there a way to do this? I'm not sure if it's even possible. If it is, it may require a java script.I'm currently using Adobe Acrobat 8 Professional version 8.0.0 on Mac OS 10.5.8I also have access to Adobe LiveCycle Designer ES4 on Windows 7
I am trying to apply some JavaScript via the Acrobat DC Action Wizard using the Execute JavaScript tool to automatically insert the filename of the PDF into the document title field (without the ".pdf"). I found a chunk of script and pasted it in, but I get the following error: SyntaxError: illegal character3: at line 4 The full code: /* Put script title here */ \r\n//Begin script\r\n\r\nvar strFilename = "";\r\nvar strChar;\r\nvar i = this.path.length;\r\n\r\ndo {\r\nstrChar = this.path.substr\(i-1,1\)\r\n//console.println\(strChar\);\r\nstrFilename = strChar + strFilename;\r\ni--;\r\n}\r\nwhile \(strChar != "/"\)\r\nstrFilename = strFilename.substring\(1,strFilename.length-4\);\r\n\r\nthis.title = strFilename;\r\n\r\n//End script\r\n). I don't know enough coding to understand where the illegal character is.
Hello everyone,With a lot of effort and patience from George_Johnson I wrote the script which can be seen in the first picture.Now I would like, if this is possible, to change the title of the window (see picture 2). At the same time I would like to ask if I can replace the info sign (red circle) with a jpg picture of mine (not me:-).Thank you in advance for any help.Nikolaos.
Is there a way in acrobat to create a button so that users may automatically add a Rich Media Button to their PDFs? I've heard of using the Action Wizard, but I can't seem to do what I want. The repetitive task that people keep doing is: 1. Adding a Rich Media Button to the bottom of a page2. Labeling it as Table of Contents and then changing other defaults for it to be black outline, clear fill, and changing the default font. 3. Having the button action be page view and then the first page. 4. Duplicating this button across every page.
Hello,If I have a document which pages are indexed and I add 2 DidSig signature on an indexed page, I get a 'Annotation Modified' on the Signature panel (left side):The signature was newly added, no other change. Is this normal, is there a way around it?Thanks~Bastian
I have a multi-page form that requires the user's name in numerous blanks. I have named all such fields the same (“Name”) so that when the user fills in the first field all the others are also filled in. However, there is one such blank down in the pack where the user might very occasionally want to leave the field blank or type in different information. I am new to this, but I have created a button the user can hit and make the one selected field go blank, allowing the user to then either leave it blank or type in new information, without effecting the other fields. To do this I have cobbled together the following code: I changed name of the field to be made changeable from “Name” to “Name1”I created a field named “Hidden” that has a display of “Hidden”I put the following JavaScript in the calculate tab of “Name1” if (this.getField("Hidden").value.length== 0)event.value = this.getField("Name").valueAsString 4. In the acti
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.