Unlock the power of Acrobat SDK through our community.
Actividad reciente
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.
Please help, I don't know how to apply these together in the same text field. Thank you!event.value = this.getField("WO1").valueAsString;var a ="";if (this.getField("Absence1").value == "Vacation (Construction)"){a="12";} else if (this.getField("Absence1").value == "Sick (Construction"){a="34";} else if (this.getField("Absence1").value == "Vacation (Maintenance)"){a="56";} else if (this.getField("Absence1").value == "Sick (Maintenance)"){a="78";} else if (this.getField("StandingWorkOrders1").value == "1122334 Maintenance"){a="1122334";} else if (this.getField("StandingWorkOrders1").value == "1122334 Maintenance"){a="1122334";} else if (this.getField("WO1").value == " "){a=" ";}event.value = a;
I'm hoping if someone can tell me if this is even possible.I have a dropdown list of work orders the user can select from which populates the number to another field called WO1. The WO1 text field also has a custom calculation script that adds a slash and period to the number ie. /11223344. Is it possible for the user to be able to enter custom text in the same dropdown text field without choosing from the list and still have what they entered populate to the WO1 text field? Thanks! //CUSTOM KEYSTROKE ON DROPDOWN TEXT FIELDif( event.willCommit ){ if(event.value == " ") this.resetForm(["WO1","UnitofMeasure1"]); else SetFieldValuesWO1(event.value);} //JAVASCRIPT DOCUMENTATIONvar WOData = { "112233 Inspection":{ WO: "112233", &n
The submit button in my Acrobat form composes an email that just lists the form fields on seperate lines. The email looks just fine everywhere except for Outlook mobile. When I send emails that have manually typed new lines, it looks fine, but when the email is composed from my javascript code, it's all on one line on Outlook 365 (android). Can someone please help with this?
Hi experts, I was wondering if it is possible to create a radial context menu using the Acrobat API/SDK. I have made a COM based program that talks with MS-Office (MFC/ATL) in C++ but now I need to integrate with Acrobat DC and the AVMenu is not what I am looking for. I have checked the examples and I could not find nothing but these examples AVAppRegisterForContextMenuSnip and ExternalWindows. Could you give some ideas or examples of how I can achive this? The radial context menu should appear as soon as I hightlight something (like the quick action menu). Here a mockup:Thank you!
I have a layer that is being used for QC, but then needs to be deleted by the QC workers.I want this to be completely automated so nobody has the possibility of screwing something up between QC and sending to the client.I found how to delete it through the preflight panel (See image below) - however I can't find a way to automate it. I can't seem to create an action with this, and I looked at the Applescript and Javascript reference guides and I can't seem to find a way to delete a layer from there either. Does anyone have any ideas?
Hello, I have 6 checkboxes that I want to determine the fill color of certain text fields. When I check the checkboxes, I want the text field that is to the right of the check box and the text fields under New Part Number, REF. P/N, and Desription to all be filled green as shown below. Now if I uncheck one of the checkboxes, I want ONLY the text field to the right of the unchecked box to fill transparent as shown below With the code that I am running now, I run into the issue of the text fields under New Part Number, REF. P/N, and Desription to also turn transparent when I uncheck one of the boxes as shown below I want all of the text fields to turn transparent ONLY when ALL of the checkboxes are unchecked as shown below This is the code that I am running in the mouse up in each checkbox (red if/else changes based on the text field that it is next to): if(event.target.value != "Off")this.getField("PN1-4").fillColor = color.green;elsethis.ge
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.