Java Scripting in Adobe Acrobat Pro

Company that I work for wants to create a form using Acrobat Pro with Java Scripting that allows access to data source. Is that possible? It is only being sent out to 350 people. Would we have to purchase LiveCycle still? Would really appreciate any input. Thank you

Depends on a couple of things.
Do you have Acrobat X Pro or Acrobat XI Pro?
If you have Acrobat X Pro then you also have Adobe LC Designer and can use an XFA based form with OLEDB to connect to your data source.
If you have Acrobat XI Pro then Adobe LC Designer is no longer included and you would be creating an AcroForm.  In that case then "No"  an OLE database source would not be directly available.  But you could use a webservice to achieve similar results with Acrobat JS if you were using a web server.

Similar Messages

  • Using Java Script in Adobe Acrobat

    I am attempting to create input forms using Adobe Acrobat. I've got the form created, and most of the functionality works. The only issue I'm having is that my end users need to be able to fill out the form, click the Submit button, and the form data needs to be sent to an e-mail address for processing. I don't need the form to be saved and sent as a PDF attachment, I just need the form data to be submitted as the BODY of an e-mail. I was told I needed to write a Java Script for this, but I don't know the first thing about that. Can anyone help me out with a Javascript they already use? I've got a week to make these forms work.

    Most web hosting services will have a mailform type script installed and available for use. If you're running your own web server, such scripts are freely available. The form just needs to be configured correctly to work with the server script. When the form is submitted to the web server, the server-side mailform script reads the incoming data and generates an email that includes the name/value pairs in the body of the email. There are literally thousands of such scripts available, to you'd have to refer to their documentation for information on setting up the form to submit to the script you want to use.
    No scripting is necessary in the form in order to submit to the web server, thought the submitForm method can be used and offers a bit more flexibility. For example, you can use a script to check the form for completeness/correctness before submitting and abort if something is wrong.
    A major advantage of submitting to a web server is it is generally far more reliable than the alternative of relying on the user's system to send the email. It can also be secured relatively easily with HTTPS/SSL, though that just covers the form submission and not when the server sends the email.

  • How to round numbers using javascript in Adobe Acrobat Pro?

    How to round numbers using java script in Adobe Acrobat Pro?
    For example:
    1.2 becomes 1.0
    1.7 becomes 2.0
    Thank you.

    Assuming you've already set the field to a Number format category and limited it to one digit to the right of the decimal, you can use the following custom Validate script:
    // Custom Validate script
    event.value = Math.round(event.value);
    More info: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/roun d

  • Need help with Java Script to perform a calculation in Adobe Acrobat Pro 9 form

    I have a form (test) that I am creating in Adobe Acrobat Pro 9.
    I need help creating custom Java Script so I can get the desired answer.
    1) There are several questions in each group that require a numerical answer between 0-4
    2) There is a total field set up to sum the answers from all above questions
    3) The final "score" takes the answer from Step 2 above and divides by the total possible answer
    Any help on what Java Script I need to complete this would be greatly appreciated!
    I've attached a "spreadsheet" that shows it in more detail as well as what formulas I used in Excel to get the desired end result.
    Thanks in advance.

    Have you tried the "The field is the average of:"?

  • Adobe acrobat Pro api with Java

    Hi,
    Can we call adobe acrobat pro Api with Java to edit Pdf forms. My requirements is to
    convert the read only Pdf form to Editable/fillable Pdf Form.
    Please let me know if there is any provision...
    Thanks in advance.
    Kind Regards,
    Anil Kumar

    Is there API available for calling Adobe Designer/Acrobat Pro from java/or any other language.Whether it be commercially licensed or anything ...kindly let me know..as it is too urgent.
    Thanks and Regards,

  • CS4 suite serial number does not work for Adobe Acrobat Pro

    Hello,
    I am looking for a solution for the serial number issue I am having with Adobe Acrobat Pro. All of other programs within the suite open fine, but when I open Adobe Acrobat Pro it asks for a serial number. When I type in the serial number, I am given a red "X".
    I have called customer support, but they haven't been able to give me any information that will resolve my issue (uninstalled 4 times now). I have Vista and have looked online and on the Adobe website to find a solution. It looks like others are having the same issue from what I can tell while searching. I have run the script too and then reinstalled, but still nothing.

    After some stupid upgrade in my computer (who knows as Microsoft is always doing something), my Acrobat 9 in CS4 stopped working. The error message said to uninstall and reinstall Acrobat. So I went through the control panel and uninstalled it. I then loaded the CD and reinstalled. However the reinstall would NOT accept the orginal serial number. I called Adobe and they gave me a different serial number. Before I let the guy nof the line I tried the  number and it did NOT work! So then he gave me another number which  asked for the previous verison- apparently it was an upgrade number. Luckily I had my old CS3 software and I gave it that number and then it accepted the install. The program now works BUT there is no longer any ADD/REMOVE choice in the CS4 suite in the control panel. There is no way to automatically remove this program anymore! What a mess.
    After reading some of the installation problems others have had and no solutions, I count myself lucky! At least I was able to get the program running.
    Therefore my advise on the serial number problem is to get Adobe on the phonen and get them to give you a number that will work, and don't hang up until you know the program is working!
    If anyone knows how to add the Acrobat to the the add/remove functions in the control panel, please let me know!

  • Create a dynamic dropdown field in Adobe Acrobat Pro XI

    Hello all. I am trying to create a field in one of my forms using Adobe Acrobat Pro XI. I have a dropdown list of "main" items, and based on what is selected in that list, I want a second dropdown list to give different choices. I have searched and searched and have javascript that I thought might work, but maybe I am have a mistake or I am placing the javascript in the wrong place, becasue it is not working. I know very, very little about javascript, so any help would be so much appreciated.
    I am using Adobe Acrobat Pro XI. I added a "new field", and selected "dropdown". The field name is ProvType. The dropdown options are:
         Inpatient
         Outpatient
         Physician
    I have the "Commit selected value immediately" selected.The field is not validated. The format is "none." There are no actions or calculations associated with it.
    I then created another dropbox, and named it SubProvType. Under Actions, I selected the trigger as Mouse Up, and then selected the Action "Run a JavaScript." I selected the add button, and typed this in the JavaScript editor:
    switch (ProvType.rawValue)
        case "Inpatient":
            this.setItems("Hospice,Hospital,Nursing Facility");
            break;
        case "Outpatient":
            this.setItems("Adult Day Center,Home,Other");
            break;    
        case "Physician":
            this.setItems("Surgeon,Family Practice,Neurologist");
            break;    
    What I want to happen is:
    If "Inpatient" is selected, I want the following options to be available in the second dropdown box "SubProvType":
         Hospice
         Hospital
         Nursing Facility
    If "Outpatient" is selected, I want the following options to be available in the second dropdown box "SubProvType":
         Adult Day Center
         Home
         Other
    If "Physician" is selected, I want the following options to be available in the second dropdown box "SubProvType":
         Surgeon
         Family Practice
         Neurologist
    However.... when I close the form editing and try to select a different option in the ProvType field, the SubProvType field remains blank and there are no options available. There are also no errors.
    I must be missing something, but I have no idea where to start. Thank you in advance for any help anyone can provide.

    dbettis2.... Please understand that everything I am about to tell you is ONLY thanks to the help I received from Gilad D. I don't know if this will help you or not, but I want to try and pass it forward.
    If what you are looking to do is have two dropdown fields, and the second one (concentration) be a list determined by what was chosen in the first one (newMajor) then this will work, if you are using Adobe Acrobat Pro.
    Create a dropdown field and name it newMajor. In the "options" tab. Make sure that you enter all of the items that you want in that list AND that they match the javascript (or this will not work.)
    In this case, I believe you want the initial list to be:
    - Select One -
    BA - Communication (BACOMM)
    BA - History (BAHIST)
    BBA - Business Administration (BBA-BADM)
    After you create the dropdown field and enter all of the options, go to the Validate tab, chose "run custom validation script", then copy and paste the following:
    switch (event.value) {
        case "- Select One -":
            this.getField("Concentration").setItems(["-----"]);
            break;
        case "BA - Communication (BACOMM)":
            this.getField("Concentration").setItems(["- Select One -","None","Mass Communication (MCO1)","Theatre (THEA)","Communication Studies (MC02)"]);
            break;
        case "BA - History (BAHIST)":
            this.getField("Concentration").setItems(["- Select One -","None","Teacher Certification (HIS1)"]);
            break;
        case "BBA - Business Administration (BBA-BADM)":
            this.getField("Concentration").setItems(["- Select One -","None","Supply Chain Management (SCM)","Hospitality Management (HSMG)"]);
            break;
    Then create a second dropdown field, and name it Concentration. Nothing further needs to be done with the second dropdown field (as far as entering options or any javascript.)
    It should work. I have created a form using this code and field structure, and it is working. I hope this helps you, if in fact this is what you were trying to do. (I do not know how to attach a file to this post or I would send you the PDF that I made so you could see the fields. If you message me, I can send it to you.)

  • Adobe Acrobat Pro 9.0 Won't Let me Save a Filled PDF Form

    Hi,
    I am using Adobe Acrobat Pro 9.0 to fill out financial forms for my budget and finance department. The thing is, I can only print the form out when completed, but can't save it (I use "Save As" and rename the file).
    When I do "Save As," the next time I pull up the form I see the data I inputted for a split second and then it is all erased automatically.
    This is frustrating as I need the data to be available every time I open the form.
    I am using Windows XP Professional on a Dell Optiplex 755 with an Intel Core 2 Duo E6850 @ 3.00GHz with 1.96 GB RAM. Again, I am not using Reader, I am using Adobe Acrobat Professional 9.0.
    Thanks!

    There is probably some JavaScript either as a document level script or page open action that is clearing the fields. If you edit your preferences you can turn off Acrobat's JavaScript,but this will also prevent calculations for running as they use JavaScript.
    You could also export the the data as an FDF file and then import the data after the form is opened.

  • Adobe Acrobat Pro (version 9 and X): creating limitations in a group of fields.

    Hello,
    I am building a fillable questionnaire form using Adobe Acrobat Pro 9 and X.
    Within 1 question, I want to set 3 fields, each representing an answer that can only be answered once.
    I know about Radio Buttons but, I need to have some text written instead of a checkbox.
    How to set a limit onto a field to direct person filling in the form to answer only 1 of the 3 fields within the same question?
    Please advise.
    Thanks,
    Win_win

    Thanks for your explaination although I am aware of both functions and thats why I chose one over the other.
    I can understand that with more experiences with scripts or the software, you can 'play' with the function much easier and better than I could as I'm quite junior to all of these. So I appreciate if you can bare with me as I try to explain what troubles I have and ways I had tried to solve them.
    The trouble I have, is Radio buttons have pre-set options and thus would not allow end user to write down their own value.  But what I need, is the value and the limitations that the end user could only choose 1 of the 3 options from a group. (Note that I am not using any scripts so I'm using the softwares' function as-is.)    In other words, if the group for 1 button has answers as A, B, or C.  I want to know  how much of A.   And not a pre-set value of A. If the end user chose A, then B and C would not be chosen.  As it's either the quantity of A, or B, or C.
    Also, what I did not understood from your message earlier today  was what is a 'nullstring' in a text field and how to create that?
    It seems from your response earlier that I could solve my problem with either Radiobuttons or, Checkboxes. 
    If I were to use checkboxes, then how can I 'add a control to make the text field read-only when one of the checkboxes has been selected' as you've suggested?
    Is one option better than another? At managing responses received?
    I will have to repeat this for quite an amount of questions I have for the form, so whichever that is easier to achieve and would produce minimum problems /errors, would be preferred.
    I hope I have explained myself clearly.

  • How to uninstall trial version of Adobe Acrobat Pro from a mac?

    I installed a trial version Adobe Acrobat Pro from the Creative Cloud list on my Mac Pro 10.7.5. First, although I was supposed to have a 30 day free trial, it expired immediately. Worse, every time I try to open my former Adober Acrobat, I get prompted to buy a yearly subscription to Acrobat pro and cannot use my older version. I have tried various ways to uninstall the Acrobat Pro version and to get back to normal, with no success. Anyone out there to help or must I spend money on an international call to ask Adobe what to do? It seems that they have shut down their "chat" service. Any help will be appreciated. Thank you. Robert

    This is not a Technical Communications Suite product. If this is AE CS4 you can try the CS4 Clean Script:
    http://www.adobe.com/support/contact/cs4clean.html
    If that fails, try the Microsoft Installer Cleanup Tool.
    If that fails try the AE forum.

  • I purchased Adobe Acrobat Pro XI for my iMac (Mavericks 10.9.4), downloaded it and have attempted to install it 10 or more times. I have done all the usual maintenance steps (repair permissions, repair disk, etc) and it still won't install. All goes well

    I purchased Adobe Acrobat Pro XI for my iMac (Mavericks 10.9.4), downloaded it and have attempted to install it 10 or more times. I have done all the usual maintenance steps (repair permissions, repair disk, etc) and it still won't install. All goes well until the installer gets to "Running Package Scripts" then it stalls or hangs up and does not finish the installation. It runs and runs and runs. It never finishes. I wind up having to force quit the installer. Can anyone point me in the right direction?

    Hi jtento ,
    Kindly enable the Root Account for the MAC and then try the installation there (in the root account). Please find below the URL to enable the root account.
    OS X Mavericks: Enable and disable the root user
    Thanks,
    Vikrantt Singh

  • Attempt to Access Invalid Address - Adobe Acrobat Reader XI or Adobe Acrobat Pro XI

    My spec's:
    - OS: Win 7 Ultimate SP 1 64 bit
    - currently have Adobe Acrobat 9 Pro v 9.0.0 (works fine) - (AA9P)
    - Profile I am installing is an Administrator account
    - All A/V is turned off to include MS Security Essentials real time protection
    - MS EMET is turned off
    I have tried upgrading to Adobe Acrobat Reader XI (AARXI) or the trial version of Adobe Acrobat Pro XI (AAPXI), and keep getting the same debug message "attempt to Acess Invalid Address"
    I have UNINSTALLED AA9P, and THEN rebooted. I then tried to install AAPXI = same debug message. No errors were present during the installation and I also verified the MD5 checksum on the download, so that I getting a complete install package
    I then UNINSTALLED AAP XI, then rebooted.
    I INSTALLED AAPRXI, and received no errors during installation. Again, all installs are ocurring under a ADMINISTRATOR account with all security software disabled. Tried opening AAPRXI and get the same debug message.
    My OS has every available patch installed for both Microsoft and Third Party.
    Any suggestions on how to correct this installation?

    Still no solution to this problem. I went ahead and purchased Adobe Acrobat Pro XI thinking I could always get refunded but maybe it was the trial version?
    I have since taken a number of steps to verify my computer was clean before I installed AAPXI
    -- remotely ran sweeps across my computer using Retina and Tenable Nessus = clean and all available/critical patches installed
    -- running Win7 Ultimate SP1
    -- running latest versions of all third party software (Java, Flash, etc.)
    -- Ran Sysinternal procmon to see if what was going on (will upload to adobe...tons of "NAME NOT FOUND")
    ---- in procmon, I filtered out most of the noise...just need an assist from Adobe Tech
    -- I used the tool above that Claudio Gonazlez identified and removed everything, even my entire Adobe CS4 installation =(
    -- Rebooted
    -- Double checked that all security software is disabled
    ** installed AAPXI with NO installation errors
    -- tried opening AAPXI but get the same error " C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe    Attempt to access invalid address"
    Any help from the community or Adobe? Been trying off an on for two weeks to fix this. Thanks

  • Adobe Acrobat Pro in Windows 7 w/ Autocad in XP Mode- not working

    I'm running Autocad Arch Desktop (ADT) in Windows XP Mode within Windows 7, and have Adobe Acrobat Pro installed in Windows 7.  Unfortunately, no "Adobe PDF"  pulldown was created within ADT once Adobe Pro was installed, and there isn't any sign of Adobe in ADT (normally, Adobe automatically installs pulldowns within ADT once installed).  Adobe and ADT function normally otherwise.  Does anyone know how to get Adobe Acrobat Pro in Windows 7 to recognize and work with ADT in Windows XP Mode?

    Can you tell me how to set the defaults to Courier 10pt font?  I tried select all and it's grayed out, but that was after the
    fact.  Where are the original default presets?
    Thank you in advance.

  • Trying to update Adobe Acrobat Pro DC, but it's been stuck at 35% for a little over a day?

    Trying to update Adobe Acrobat Pro DC, but it's been stuck at 35% for a little over a day?

    Hi mattwillball,
    Could you please let me know what version of OS are you using.
    You might need to refer the following KB doc link for issue where Acrobat download and install process is stuck at 35% on MAC:
    Installation Prompt to Close SafariNotificati
    If this does not help, then please let me know if you get any other error message when installation is stuck.
    Hope to hear from you.
    regards,
    Anubha

  • Problem with Adobe Acrobat Pro XI after installation on Mac

    I just installed Adobe Acrobat Pro XI on my Mac. My Mac has the correct version of OS and Safari yet I can not launch Adobe. When I launch it, an error box comes up and says a problem has been reported to Adobe.  That's as far as it gets. Has anyone had this problem before?

    Hi lsgahan,
    Please try the following steps and let me know.
    Delete all the files from following folders:
    Library/Application Support/Adobe/SLStore
    Library/Application Support/Adobe/SLCache
    And, delete all files from following folder except cache.db
    Library/Application Support/Adobe/Adobe PCD
    Launch Acrobat and enter the serial number when prompted and check.
    Regards,
    Rave

Maybe you are looking for

  • Flash Player 10.2.153.1 upgrade not working on 64bit Intel-Mac in Safari 5.0.4

    I feel robbed! I want to use my Safari. The latest upgrade of Flash player does not work. I don't even remember downloading it, it must've been an automatic update! I can not play youtube videos nor can I play any games on Facebook. Who knows what is

  • SD Document  Output Preview Issue

    Hi Respected SD Seniors Please help on this output issue. I am trying to print my sales documents through STD output types.  Want to issue the sales document output to the screen (Preview) or Local network printer. Please share with me the functional

  • Payment to be done according to invoice line item

    Dear SAP Friends, I require a small clarification on Payment. Please see the below screnario. 1. I have a invoice for 10000 USD, Which includes 3 lines in the details.        a. Water Charge - 3000        b. Electricity Charge - 5000        c. Rent C

  • How to execute javascript code in VBScript?

    I'd like to execute similar javascript code for some particular PDF files(parameters for pagenumber are quite different),such as: this.setPageLabels(0, [ "A", "", 3] ); this.setPageLabels(1, [ "r", "", 1] ); this.setPageLabels(16, [ "D", "", 1] ); Ho

  • Sales to Billing Invoice Creation with Split that Shouldn't Occur

    Good Morning, First of all, let me tell you i've started doing some ABAP development last week, so i have a lot of things to yet understand. I received a request to implement a change in the creation of a billing document. Context: I have a order - O