Unlock the power of Acrobat SDK through our community.
Recently active
I created a script for my text fields to default to the following settings:Font Size: 10Font Color: BlueFont: Times-RomanThis is working for the most part. However, I would also like to add another default setting for text field, under the option tab only have the "check spelling" box selected. Also, the current script is not being applied to checkboxes. I would like checkboxes to have the same default setting (Blue, 10) with the check box style set to "cross". Below is my current script, can I please get assistance with the above additional settings added to my existing script? /* Auto Detect Font Changer */for (var i = 0; i < numFields; i++) {var fName = getNthFieldName(i);var f = getField(fName);if (f.type === "text") {f.alignment ="left";f.textFont = "Times-Roman";f.textSize = 10;f.textColor = ["CMYK",1,1,0,0];// Other properties go here}}
Hello all, I would like to list all the fillable fields in a PDF in an array for each page. I found a page that seems to say its script will do just that. I cannot get it to work. Could someone take a look and tell me what is wrong. In the function that is created should I be inserting my document name? If anyone has a better way to do this I will appreciate that as well. The page that offers a script: Page at Acrobat Library function getPageFields(doc, p) { var fields = []; for (var i=0; i<doc.numFields; i++) { var f = doc.getField(doc.getNthFieldName(i)); if ((typeof f.page=="number" && f.page==p) || (typeof f.page!="number" && f.page.indexOf(p)>-1)) fields.push(f.name); } return fields; } If my results are listed in the console it is fine. I want the listing to refer to them elsewhere. Thanks for any help.
We have developed plugins for Adobe Acrobat using Visual Studio 2013 and the latest Acrobat SDK. We would like to upgrade to Visual Studio 2015 without having to also keep VS 2013 in our machines. The challenge is that we have references to sandbox_pisdk_client.lib and sandbox_pisdk_server.lib. We use those because our plugin needs to run in Protected Mode and we had to implement a broker process for actions that cannot be executed within the sandbox boundary.Unfortunately, the sandbox_pisdk libraries in the sdk were compiled in VS 2013 and we cannot use them to build in VS 2015.I had a few questions...* Is it possible to get sandbox_pisdk library files that have been built in VS 2015* If that is not possible, is it possible to get access to the source files so we can build them ourselves? This would actually be helpful for future Visual Studio upgrades (VS2017 is coming out soon!)Thanks
I keep receiving this error message when trying to open Adobe Acrobat "C:\Program Files (x86)\Adobe\Acrobat 110.\ [CoolType.dll] [BIB.dll] [AGM.dll] is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. I have uninstalled and reinstalled Abode and this did not work. I have ran command prompt to sfc /scannow commands. I am running Windows 10 Pro x64. I have Adobe Acrobat version 11.0.15 version installed as well. Thanks for the help!
I have an MS-Word document with several mp4 files in it.After conversion to pdf, the pdf file shows the video file's icon but it's now only an image, the video is not available any more.Is there a setting that ensures videos are embedded in the pdf doc?Many thanks
Our plugin loads fine when Protected mode is off but does not loads when protected mode is ON. Error message appears "Unable to initialize Adobe Plugins. Class not registered."Any clue what might be the possible reasons?Thanks
Ok, so I know you can set your browser not to open PDF forms, so this is not a question about how an individual can prevent all PDFs from opening in a browser.We use a lot of PDF forms which our users download from our website and email back to us. However, when they open their download the form inevitably opens in a browser and they fill it in and can't save their answers. There is no way to train them to only open forms in the proper Acrobat program because they are all over the country and do not read instructions on the website. They are using all sorts of different operating systems and devices.Is there a way to embed a setting in each file that will prevent it from being able to open in a browser? I see you can embed settings to open at a particular view, with particular panels open or closed, but can't find a setting for "prevent opening in browser".As long as our users are able to open a form in their browser, they will continue to email us wondering why their form didn't save
Hi Team,We are unable to use our plugin when protected mode is on.We are using C# generated .tlb file in the C++ plugin code. When plugin is installed on the system we do register this tlb file using regasm.exe.When protected mode is off, the plugin loads successfully, but when it is on, plugin is not loaded and error message appears - "Unable to Initialize Adobe Plugins. Class not registered."Not sure, but is the tlb file whose methods are being used by plugin CPP code causing this problem?Also, I read in Adobe Security (related to protected mode) that broker process is required for out-of-proc COM objects. Since we are not using any exe file, I hope using tlb file should not be the cause of issue. Is it that we need to implement broker process for COM object (.tlb)?Kindly let us know your valuable inputs.Thanks
Hoping someone can help me with this. I have a form with an Absence Type dropdown list and a text field to enter hours. I would like to be able to have an alert pop up 'Do Not Enter Hours' if the user attempts to enter hours if CDO (compressed day off) is selected from the dropdown list. I have attached a document showing an example of what I need. Thank you!
the program works well, the problem is i get a message that there are updates ready and when i download and try to install it it gives me error 1328. i uninstalled the program and reinstalled twice and the problem persist.
I am trying to create a custom print button on a PDF form that will print pages 2-4, SKIP page 5, and continue printing page 6-7. Is this possible? I am not very familiar with JavaScript and have tried looking at other post on this topic but I can not figure out how to not print page 5. Any help would be apprecitated.
I have Adobe Acrobat DC and am attempting to extract data from fillable pdf forms into an access database using Visual Basic for Appliactions and Java Script. My routines allow users to select a form to import and it loop through all fields and imports data into a table in db. This part works fine. The issue I am having is that sometimes the signatures show up as the first objects in the field colleciton as "Signature1", "Signature2", "Signature3", etc... These are always the first indexes in the collection instead of in the location they show up on the acutal form. Some forms when imported the signature fields actually have the actual field name such as "ApprovalSig" (for approvers) or "PointSig" for point of contact as identified on the form and in the proper order. Code: This code was originally obtained from theDBGuy's PDF Form Fields Demo at accessmvp.com/thedbguy and modified for my purposesOn Error GoTo errHandler Dim appAcro As Object Dim docAcro As Obje
Hello, I have a fillable form that I would like people to fill out but would like to restrict it that it automatically saves and closes after an hour of the form being opened. I would like it to also have a countdown on the top of the form saying how much longer they have to complete the form. I don't mind using Javascript for this. I know some people know how to work around this but I believe my demographic of who is completing this form wouldn't be able to figure it out. If anyone could help that would be greatly appreciated.
I have submit button on a form that when clicked it sends a PDF attachement to a static mailto, with the cc, subject line, and body all based on a field entry. I based my code on this link:https://acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address/ As a result this is my code.var cToAddr = "application@email.com";var cCCAddr = this.getField("Employee_Email").value;var cSubLine = "Application for" + this.getField("Employee_Name").value;var cBody = this.getField("Employee_Name").value + "has submitted an Application for review.";event.target.mailDoc({bUI: true, cTo: cToAddr, cCc: cCCAddr, cSubject: cSubLine, cMsg: cBody}); It appears my code is just wrong. I've tried alternate variations but this seems to be the closest. The Javascript Debugger says:Acrobat EScript Built-in Functions Version 10.0Acrobat SOAP 10.0SyntaxError: missing } after property list4:SyntaxError: missing } after property list4:SyntaxError: unterminated string literal7:SyntaxErro
I have a two page form that once the user fills out and signs they click the submit button. The submit button has added to it a action mouseup javascript that makes all the fields read only and also generates a template page that is for admin use. So the idea is that once the form is submitted the person receiving the form on the other end will not be able to touch the fields on the first two pages but in the third page generated from the template. I have two scripts running in the button plus submit form:The first to generate the template page and hide two buttons:var a = this.getTemplate ("AdminUse");a.spawn();this.getField("Submit").display = display.hidden;this.getField("Reset").display = display.hidden; The second to make all fields read only://getField("Text_Field").readonly = true;for(var i=0;i<this.numFields;i++){var fieldName = this.getNthFieldName(i);if (fieldName == "FOR_ADMINISTRATION_USE_ONLY"){//console.println(i+":no:"+fieldName);... used in the debugger}els
Hi thereI am trying to populate two text boxes on a form triggered by one selection from a dropdown list.Each dropdown selection has two attributes that I want to display, with one of them able to be overwritten.My knowledge is limited but I have managed to get it to work for one attribute running this script on the 'Colour' dropdown Mouse up trigger:- this.getField("Colour").setItems(new Array(["",""],["Black","1995"],["White","1993"],["Grey","1998"])); And adding this custom calculation script to the 'Year' text box:-event.value=this.getField("Colour").value(This variable is fixed and can’t be changed by the user). I'd like to populate a second text box ‘Percentage’, with a colour attribute value (0.75%, 0.50%, 0.00% respectively), that could be overwritten by the user.I thought I could just extend the array to cover a third variable but I can't make that work.Can anyone guide me with how to do this?Many thanks
Hi experts I have a form in which a custom format script is triggered when the document is opened, which causes some fields to be reset unwanted.According to the documentation the custom format script is a user event, which should only be triggered when the field is activated.See: https://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/index.html#rhhlterm=processing&rhsyns=%20&t=Acro12_MasterBook%2FJS_API_AcroJS%2FForm_event_processing.htm Question: is it a bug or a normal and expected behavior?I could possibly share the file privately (it's a client's file). Thank you
The form has to be submitted to two levels so a new button appears for submitting to the next level. One the form is in the level 2 and level 3 state a "Denied" button appears where these two levels could deny the form and signature fields and submit buttons for level 2 and 3 completely disappear. I also have a "Undo Denied" button incase it is clicked by mistake to make everything reappear. Currently this when clicking "Undo Denied" this makes both level 2 and level 3 approval buttons appear which I only want one of them to appear dependinf on if the level two signature is already entered or not.If level two has already signed it then the level 3 submit button needs to be visible, but if the level two signature is not yet signed then the level 2's button needs to be visible instead. Level 2's button is called: Submit_to_DirectorLevel 3's button is called: Director_Approvedand Level 2's signature is: Manager_Signature I've written this, but I'm certain it'
Hi,I am wanting to create a script to select a particular value, based on date.Specifically, the selection will be based on the date occuring on or prior to 01/01/1996. The date field is "DOB" The field I want to autofill is named "CourseFee". I have two calculated fields and want to be able to select and autofill the "CourseFee" field based on the date.If the date is prior to the one above, I want a value (Under25) to autofill. If the date is later than the one above, I want the value (Over25) to autofill.Is this doable?
I have a form field in which a 4-digit number is entered, and:1. Upon exiting the field would like the @ symbol to appear at the beginning of the 4-digit number: Type "1234" and diplay "@1234"2. If the form field is blank (not used) then the @ symbol does not appear.
I am not sure if it is possible, I have a field that shows the time when the form was opened with the usual code: var c = this.getField("TimeStamp");c.value = util.printd ("HH:MM", new Date()); But I would like the time to change as time goes on. The user could have opened the form at 10:00, but took 20 minutes to fill the form, so I would like to see the 10:20 time shown. Is there a way to see the actual time in a field?
Hello, I am creating an Acrobat form for individuals in my office to use. I'm very close to done with it but there is one problem. They will occasionally need to add pages to the document and the footer with page numbers doesn't update. Because this document is being shared with hundereds of people I can't just tell everyone that they have to go to the edit page and then select header/footer and choose update. I was hoping I could make it into a button through Javascript? Is there a way for me to create a button that will open the header/footer menu? I've already tried adding it as an action item from the action wizard and adding it as a custom tool ... but still I can't select it for a button action and I don't see it when scrolling through the javascript menu items. There has to be a simple way to do this, right??
Hi all, I am seeing the following error when submitting a pdf:"An error occurred during the submit process. Cannot process content type text/html; charset=utf-8" The error is only occuring on a couple of client machines and most machines are successfully displaying an html page on submission. I am using the lastest version of adobe reader when trying to submit. When using fiddler everything seems fine with the submission and response. I think Adobe Reader is recieving the html response correctly, but doesn't know how to handle it and I am not sure why. I suspected the issue may be a permissions issue. I've tried adjusting every setting I could find in the secruity (enhanced) settings, but nothing has worked. I've attached an image of the current security (enhanced) settings. Does anyone know what may be causing this issue or have any suggestions on what I could try next? Thanks,mklingberg1
I am attempting to create a PDF membership form for my sports club and am stuck on one thing. I have a dropdown "MemYear" that is set with options "2020/2021", 2021/2022, and so on. When you select 2020/2021 it exports a value of "30 Sep 2020" to "TEXT1", 2021/2022 exports "30 Sep 2021" and so on/ If it is possible, I would like it so that in addition to the first export to TEXT1 it will also export "December 2020" to TEXT2 and when I select the next option it would export December 2021 and so on.I can figure out the first part of exporting to TEXT1, but am stumped on how to complete step 2, i.e exporting to TEXT2. Any help would be greatly appreciated as this one really has me baffled.Thanks in advance
This should be pretty straight forward I think but I'm having a difficult time finding the correct answer for what I want.I have six fields on a PDF form, I want the submit button to remain hidden until all six fields are not blank, then change to visible.I've tried different IF AND statements and just not getting it to work. Using Adobe Acrobat DC. Thanks for advice.
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.