Calculation in Adobe Acrobat Pro

I'm creating a simple order-form for my business.
I need to assign each option in a drop-down menu for "Quantity" a value; then either add $0 or $10 depending on the option they choose in the "Finishing" drop-down menu (all options add $0 except the last one; which is shown on Screenshot)
I've attached Screenshot.
Basically:
Quantity 1,000 = $30
IF Client chooses option "Spot UV" , Add $10 to value in quantity.
Result will show up in Total.
I'm not great at Javascript, but I'm quite good on picking up on new things, and should be able to tweak whatever you guys give me
I understand the idea of Field Names, just not sure how to assign each drop-down item a value and create a conditional statement.
Thanks!

You don't really need any scripts. Just set the values you want to use as the Export Values of each option in your drop-down, and then use the built-in calculation option "Value is the (sum) of the following fields" and select those drop-downs from the list.

Similar Messages

  • 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:"?

  • 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 and Livecycle

    Hello,
    just recentlty purchased my Adobe Acrobat Pro to edit (especially my interactive calculations), which I created in LIvecycle on Windows.
    Unfortunately, I always just got the error message "This form cannot be edited in Acrobat. Please use Adobe LiveCycle Designer to edit this form."
    Unfortunately I am not using Windows any more, so was wondering, if there is any other way to edit my documents ?
    Thanks a lot, Marc

    No. You can only edit LC forms in LiveCycle, and it is not available on a
    Mac. Also, even on Windows it's no longer bundled with Acrobat. You have to
    purchase it separately (or request a download link if you had a previous
    license).
    I would suggest converting your files to "standard" Acrobat forms, if
    possible.

  • 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

  • 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

  • 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

  • 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!

  • Adobe Acrobat Pro text box not printing and is hidden under box highlight.

    Adobe Acrobat Pro 10.1.13.  I am completing a form with text box throughout the document. I can no get the text box to printing and the text is hidden under box highlight.  I have tried printing with the print feature 'Comments & Forms/ Document and Markups' with no luck.

    It's doing that because you have field highlighting enabled. YOu can either turn it off or make the field read-only (if it's only used for display and not entry).

  • Installing Adobe Acrobat Pro 9 on a new laptop, but it doesn't accept my serial number

    Hello,
    On my old laptop I had installed and licensed Adobe Acrobat Pro 9. I retired my old laptop and bought a new one. I want to install Adobe Acrobat Pro 9 now on the new one. But seemingly my serial number is not accepted any more. That's what I did so far
    1. Downloaded Adobe Acrobat Pro 9 from http://helpx.adobe.com/acrobat/kb/acrobat-8-9-product-downloads.html
    2. Retrieved my serial number from Adobe ID (it matched what I have found out locally on my old computer)
    2. Started the installation
    3. Entered my serial number when asked for. Then I get a message "Invalid Serial Number"
    Who can help please?
    Best regards,
    Dr. Rolf Schlagenhaft (Freescale Semiconductor)

    Moving this discussion to the Acrobat installation & Update Issues forum.
    RolfSchlagenhaft there are no registered Adobe software titles under the account you are posting to the Adobe forums with.  You will want to attempt to locate the account which has your registered serial number.  You can find more details at Find your serial number quickly - http://helpx.adobe.com/x-productkb/global/find-serial-number.html.  If you need assistance locating the account which contains your serial number then please contact our support team at Contact Customer Care.
    Finally if you have a volume license for Acrobat 9 Professional then the installation files are only available at https://licensing.adobe.com/.  The installation files you downloaded are for the retail version of Acrobat 9 Professional.  This may be another cause of you receiving the message that your serial number is invalid.

  • How do I get the PDF Convert feature of Adobe Acrobat Pro Extended 9.4.4, which makes a PDF of a web page interactive, to work in Firefox 4.0.1?

    I just installed (on my Windows 7 Ultimate (64 bit) operating system/Intel i5 CPU M560 2.67 GHz) and am now using as my default browser Firefox 4.0.1 because Internet Explorer 9 was giving me so much trouble--lack of display of web content, lack of PDF reproduction when web content displayed, screwball formatting display, etc., all of which has been remedied by the mere installation of Firefox 4.0.1.
    How do I get the PDF Convert feature of Adobe Acrobat Pro Extended 9.4.4, which converts a web page to an interactive PDF, to set up and work on Firefox 4.0.1?

    You can not do that using Adobe Acrobat 9. Adobe never made a create PDF add-on for Firefox for use with Adobe Acrobat 9. They created a Firefox add-on for use with Acrobat X, but currently that one does not work with Firefox 4 though Adobe are working on an update.

  • Adobe Acrobat Pro Licence is not working any more

    Hi, Adobe Acrobat Pro is not opening any more and giving the error "Licence is not working any more". I have a CS4 on Mac OS X 10.5.8. I tried all the suggestions in the Help Forum. What remains is to install CS4 again. Is there any risk doing that? Or is there any other option. Best, Felix

    Hi xilef79,
    Have you tried all the suggestions in this Help document: http://helpx.adobe.com/creative-suite/kb/error-licensing-stopped-windows.html
    Please let us know how it goes.
    Best,
    Sara

  • How do I customize Adobe Acrobat Standard DC or Adobe Acrobat Pro DC to do what I'd like?  Actually this a multiple-question inquiry.

    Note, I was unable to find a "How TO", Tutorial, or FAQ relevant to the following questions.
    For instance, how do I easily append to an existing PDF with minimum clicks (which I could do with an earlier version of Acrobat Standard)?
    I'm using a 30-day trial of Adobe Acrobat Pro DC to scan documents and in certain situations, append to existing PDFs.
    I'd prefer to trial the Adobe Acrobat Standard vs. Pro DC because that's what I intend to purchase.  I'd prefer to not get accustomed to Pro if Standard is very different.
    1.  After selecting Edit > Preferences and specifying certain defaults, most take effect as suspected but some do not, like the one's I'm going to elaborate on below.  Why?
    2. Alternatively, is there a Tool or a way to create a local customized Profile and default to that Profile to avoid having to repeat the following steps?
       This should not be confused with the online Profile (or Communities Profile) whereby one states one's Name etc.
    File
    > Create
       > PDF from scanner
         > Custom scan
           > Color Mode: Black and White
           > Append to existing file
             > Browse
               > Select file
                 > Scan
    This is a cumbersome task to repeat each time I'm ready to scan.  Using an earlier version of Acrobat Standard, I'd simply double-click the PDF I wished to append to,
    Acrobat would default to the appropriate scanner, and know that I wished to append to an existing file without me having to select that option.  Presently it doesn't appear to be that easy/simple.
    Perhaps it is (or can be with guidance).  Please assist.
    3. Please find attached the following snapshots/images... CORRECTION, IF ADOBE SUPPORT CONTACTS ME ABOUT THIS, I'LL GLADLY FORWARD SCREENSHOTS.
       Meaning, there does not appear to be a way to include screenshots on Forums.
    3a See Error.  Is there a way to get a more accurate description of the error (i.e., turn on debugging etc.)?
    3b When Creating a PDF, the prompts still seen after clicking "Configure Presets" and changing Color Mode from AutoDetect to Black and White.  Why?
    3c Custom Scan Input, where I changed Color Mode from AutoDetect to Black and White and why I must also tell Acrobat to append AND to browse to a pre-defined default location?
    4. Must I be "Logged in" to use the product?  The first time launching it, I was prompted to login using the credentials used to create the account and download the product.  Now when using the product it appears to be automatically "Logged in" or online.  I would prefer to use it in an "offline mode" if there is such a thing.
    5. Once the product is purchased, what are my support options?  Can questions be answered or issues resolved with a phone call or are they limited to the Acrobat Forum(s) and/or Adobe Communities?  Even after clicking "Ready to contact us?  Start here." I'm only given the Forum option (over and over) vs. Chat vs. Email Support etc.
    If I've posted these inquiries to the wrong Forum or Discussion, if prudent, please collectively relocate them.  Regardless, please advise.  Thanks!

    uninstall all acrobat/reader versions and retry installing.
    or check your log files for more specific help, Troubleshoot install issues with log files | CS5, CS5.5, CS6

Maybe you are looking for

  • Tape initialization error at first time in DB13

    Hi , first time While initializing tapes in DB13 , we are getting error "<b>0003 Error during Tape initialization</b>".At OS ( HP-UX / Oracle), SAP R/3 4.72Enterprise. level backup device initialized.I have enclosed logs ,please suggestto resolve thi

  • Files saved in newly updated Photoshop will not place correctly in Illustrator

    I cannot seem to place any images in Illustrator CC that have been edited/saved with the newest update of Photoshop CC. These are images with no layers and no transparencies, and are no more than about 300px x 600 px, 300dpi. I have saved, resaved, s

  • How to track an iPod touch without icloud?

    I need to find my iPod but what if someone restored it how can i find it then.

  • Video not loading safari

    when i leave the page and go back to it the video does not keep loading it just stops and only show the loaded part before i left the page. in safari <video width="640" height="360" controls>             <source src="videos/videolongrun.mp4">        

  • Sending email from switzerland to usa

    While traveling in Switzerland I tried to send an email back to the States using my verizon account. No joy. When I switched to my Att account I was able to send an email back to the States. What gives?