Math calculations in Acrobat 8 Pro.

I am using Acrobat 8 Pro on a windows machine running XP SP-3.
I am building a form from a PDF document. I want to make some of the fields calculate totals from other fields... According to the Users manual (printer from the on-line documents), when I go to field properties, there should be a calculate tab which gives you the options to set the way you want the field to do calculations.
THIS IS A TEXT FIELD.
In the (Object)(Value) tab, I can select from a drop down box of 6 types of data; User Entered - Optional; User Entered - Recommended; User Entered - Required; Calculated - Read Only; Calculated - User Can Override; and Read Only. If (Calculate - Read Only) is sellected, I only have two radio buttons available. (Calculation Script), which gives me NO place to enter any script and, (Runtime Property) which gives me other options like page number viewer locale etc.
I don't get what the manual says like; (Value Is Not Calculated) or (Value Is The) options. These, the way I understand it, should give more option to set up a calculation field...
What am I doing wrong?
By the way, the User manual I downloaded has reference to this on page 220.
HELP

Hi rdenichilo,
Just out of curiosity, how many form fields are in the document? If the document is primarily text with just a signature field I'd recommend saving as RTF, but that will remove form fields. If you've got a lot of form fields we'll need a different idea
Steve

Similar Messages

  • Fonction calcul pour acrobat Pro

    Bonjour,
    J'ai 4 champs dans un document Pdf il me faut trouver la formule de cacul pour le resultat en A4
    (pret immobilier)
    je ne sais pas comment faire
    A1= montant
    A2= taux
    A3= durée
    A4= resultat

    Bonjour,
    Je ne suis pas banquier, et je ne peux pas vous aider avec votre formule, mais pour le côté technique des champs calculés dans Acrobat, voici :
    Une fois vos champs de formulaire créés, double-cliquez dessus pour afficher les propriétés et rendez-vous sur le dernier onglet : Calcul
    (image 1).
    Sélectionnez le type d'opération mathématique et sélectionnez les champs à utiliser dans la formule (image 2).
    Si vous devez faire des formules plus complexes, vous pouvez peut-être toujours utiliser des champs intermédiaires, non visibles à l'écran ou utilser un script.
    J'espère que ces infos vous seront utiles.

  • How to subtract in a calculation in Acrobat Pro 9

    I'm building a pdf with some calculations. I can do a 'sum, product,average,minimum,maximum'. But how do i subtract 2 fields?

    best solution evar. worked fine for me. thanks
    movie
    phim online media... music
    nhac online the world of
    wholesale fashion and models
    wholesale clothing and lovely
    phim han quoc film..?!!

  • Acrobat Pro 6 Average Daily Production and Math.round problem

    Acrobat Pro 6 Average Daily Production and Math.round problem
    (Production.0) (154) (whole units) . (Production.1) (90) (fractional) / (divided by) 31 (days) results in (Average.0) (4)(whole units) . (Average.1) (10) (fractional) using :Math.round.� Noticed that 154 (whole units) . 85 through 99 (fractional) also show 4.10. (without Math.round : 5.00)
    Method:
    �Production.0� (whole units) . �Production .1� (fractional) / Days = (Average Daily Production) (�Average.0� (whole units) . (Average.1) (fractional)
    � Production.0 (value not calculated)�, � Production 1 (calculated) (event.value = util.printx("0099", (event.value)).substr(-2,2); � �Average.0 (value not calculate)�, and �Average.1 has following calculation:
    var punits = this.getField("Production.0");
    var pfrac = this.getField("Production.1");
    var average = 0.0;
    average = (punits.value + pfrac.value / 100) / this.getField("Days").value;
    this.getField("Average.0").value = average - average % 1;
    this.getField("Average.1").value = util.printx("0099", Math.round((average % 1 * 100))).substr(-2,2);
    �Math.round� appears to be a problem. Also, could you explain the purpose of �0099� . Anyway, why would 154.85 through 154.90 divided by 31 give 4,10. Also, their must be a better way, to find the average daily production. All you have to do is divided the production (whole. fractional) by the days, and display the average daily production as (whole. fractional). Any suggestions??

    There are a many loose ends in your question.
    First, I have never seen before a variable type called 'var'. Is it a java primitive or a class?
    Next, I cannot seem to find any class that has the printx method.
    When it comes to substr(-2,2), I get confused. First, I thought that it was a method of the String class, but I only got as far as substring(beginIndex, endIndex).
    If you really must break the production and average into pieces, try this:
    float average = (punits + pfrac/100) / days;
    int avg_units = (int)average;
    int avg_frac = (int)( (average - avg_units) * 100 );My guess is that util.printx("0099", x) formats x having two optional digits and two mandatory digits, showing 0-99 as 00-99, but allows to show numbers with three and four digits.
    154.85/31 = 4,9951612903225806451612903225806
    154.99/31= 4,9996774193548387096774193548387
    If you round the fraction of theese numbers multiplied by 100 ( = 99.51.. and 99.968...) you get 100, and this will be the output of printx. My guess for "4.10" is that substr(-2,2) returns the two first characters of the string, because the start index should not be zero. (According to java docs, substring throws an exception on a negative index, so what kind of class are you really using ??????)

  • How do I add a negative to a calculation in Acrobat 10 Pro?

    How do I add a negative to a calculation in Acrobat 10 Pro?
    I am using Acrobat 10 Pro in Windows 7.
    I have a form with columns of numbers (Millions, Thousands, hundreds) that I concatenate and then perform simple calculations on (addition, subtraction, division, etc).
    I have a new section of the form that has a column for a negative sign. The calculation is simple addition but it is possible for the numbers to be negative as symbolized by the minus sign in the negative column:
    Line 23 adds lines 20 + 21 + 22 and displays the sum. If any of lines 20-22 have the minus sign in the Neg column, I need the calculation to see that and add the negative number, essentially subtracting it.
    NOTE: the neg column is so formatted that the only possible entries are null and "-"
    So, I see two ways to go, one is a script for each line that looks at the neg column and if the "-" is present, makes the entry a negative number. I have not had much luck with this.
    The other path is to do this all in the calculation in line 23. I have fiddled around with some "if" statements but no joy yet.
    NOTE: If it makes it easier, I could change the column input to a drop-down box with "-" or null as the options if that makes it easier to call out somehow.
    any thoughts out there?
    Steve

    You can use a custom JavaScirpt calculation or the simplified field nation calculation, if your field names follow the required convention, with the "-" operator.
    If you are using the "The field is the ____ of the following fields:", you need to create a hidden field with a default value of "-1", a second hidden field that calculated the product of the "-1" field and the field you want to subtract. You can then use that second hidden field in the calculation.

  • Acrobat Pro 9: Calculating Based on Checkbox Value

    Hi!
    I am a novice and I purchased Adobe Acrobat Pro 9. Can
    someone help me figure out how to do calculations of checkboxes? I
    am trying to do the following:
    I want to create 2 columns of 10 check boxes each. I want to
    keep a running total of how many are checked in Column 1 and a
    running total of how many are checked TOTAL (in both columns). Now,
    the document has 3 pages, and on each pages - there are 2 columns
    of 10 check boxes. I want the running total to include all boxes
    from the 3 pages.
    I hired a freelancer who did this in LiveCycle (using Acrobat
    Pro 8). It worked on her blank page, but when we copied and pasted
    the check boxes into my document (a pre-made PDF exam I have to use
    for work; my school would not allow me to give it to her to work
    with); the calculations wouldn't work. We went into LiveCycle and
    each time we opened up my document with her calculations, the
    language changed automatically from FormCalc to JavaScript.
    Can anyone give me advice or tell me what to do? (We do have
    two read only boxes that do calulations [total checked in Column 1
    and total checked] so it really should work...)
    Thank you for considering and taking the time out to help!
    Alisa

    Hello,
    I'm sorry I'm not able to address your question. These forums
    are specific to the
    Acrobat.com website and its set of hosted services, and do
    not cover the Acrobat family of desktop products.
    Any questions related to the Acrobat family of desktop
    products would be best suited in the Acrobat User Forums:
    Link to
    Acrobat Forums
    Thanks!
    Michelle

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

  • 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

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

  • Why does working with Stamps cause Acrobat Pro XI to crash on close

    Although other people in my organization have been experiencing crashes several times a day with Acrobat Pro XI (usually from stamping PDFs and closing Acrobat), I've just started receiving crashes after working on custom Stamps. This hasn't happened before to me. What is so special about the stamps that might be causing these crashes?
    Our users using Acrobat for scanning receive the crash message "Adobe Acrobat has encountered a problem and needs to close. We are sorry for the inconvenience."
    Any suggestions will be appreciated.
    Thanks,
    Charlie
    charlie6067

    Hi George - a few divisions have stamps with JavaScript to query user to enter a date and time document was stamped. Most of the users do not. Just a set of static signature and File stamps. The File stamps have fields that contain custom calculation scripts to always display the current date and time of stamping. This was never a problem in Acrobat 9 Pro, though. Some crashes have occured just scanning through Acrobat without touching the stamps. Thanks for the quick reply and would appreciate if you have any more I can look into.
    Charlie
    charlie6067

  • Creating an interactive form in Acrobat Pro 9.5.5

    Can anyone advise if what I am planning is possible given the version I am using. I am using a Mac.
    I am trying to create a briefing form for a design studio that will allow people requesting artwork to enter the relevant information (dates, page count etc.) and then for the form to calculate the number of days that it will take and the cost (based on a daily rate x number of days).
    The form will initally be produced in InDesign CS5 and exported as a PDF and then edited in Acrobat Pro 9.5. Essentially, the form needs to be able to calculate date ranges (i.e. number of work days between two dates) and then calculate prices based on a daily work rate (which would be hidden to the user). I would also need it to calculate totals say based on the following example:
    1-2 page document - allow ten days.
    For every additional 2 pages add a day
    "Is photography required?" If yes, add a day for up to 5 photos. etc.
    Before I even attempt this, I need to know if it is even possible given the version I am using. If not, I will explore doing it in Excel, but I would far prefer using Acrobat.
    Any help would be greatly appreciated.

    It's possible to do the calculations using JavaScript. The hardest part may be determining what's a working day and what's not. If it's certain days of the week (Mon-Fri) it's not too much of a problem, but it can get complicated if you have to contend with holidays or other irregular non-work days.

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

  • Can Acrobat Pro 9 create pdf forms that are readable by older versions of Reader?

    I have just downloaded the Trial of Acrobat Pro 9, and my client now tells me they only have Acrobat 5, and can't open the pdf form I've made in 9.  My form uses text fields and checkboxes, tooltips but no validation or calculation.  Does anyone know if it is possible to save this form in a way that is backwards compatible with Acrobat 5?
    Failing this, does anyone know what version of Pro I need in order to add fields and still allow v5 to open the files?
    thanks!
    - Thea

    I did not read your original post carefully. As far as saving a form that is readable in AA5, AA5 should be able to read an AA9 form as long as you did not use any of the new fancy things in it. In the meantime, simply save the form using either Reduce File Size or PDF Optimize with the compatibility set to AA5 or AR5. That process will strip any special issues from the PDF I think. At least that is my assumption. I create PDFs that are AA5 compatible all the time by simply having the properties of the Adobe PDF printer set to AR5 compatibility. As far as the form feature, that is really just a matter of being sure you use features that are AA5 compatible as I have suggested and saving, possibly using one of the two options I have mentioned. In most cases, AR5 will be able to read it even if you do not save in that process, but do not get fancy in the structure.

  • Creating order form and need Java Script to calculate unit price and quantity in Acrobat Pro.

    Hi,
    I am creating order form in Acrobat Pro , and I have
    code
    Order Quantity
    Unit price $
    201
    500
    $ 0.52
    201
    1000
    $ 0.36
    202
    300
    $ 0.26
    202
    500
    $ 0.2
    How make Subtotal and Total price with Java script.
    I do not know how to write java script.
    Anyone can help me?
    Thanks,

    Thanks for your response. I have 2 quantities and 2 Unit price for each code, I know a simple sum in calculation it works for 1 unit price and quantity.  Can you please let me know how to do it? One of the expert sent m this:
    //change field names as needed
    var qt1 = this.getField("qt1").value;
    var up1 = this.getField("up1").value;
    var qt2 = this.getField("qt2").value;
    var up2 = this.getField("up2").value;
    event.value = (qt1 * up1) + (qt2 * up2);
    I put this in total text field (calculation tab , Custom script) , but it  did not worked.
    I appreciate it if anyone can help or give me  suggestion.

Maybe you are looking for

  • How do i read a downloaded book on macbook?

    how do i read a downloaded book on macbook?

  • Only see cell value in JTable when press escape

    Hello, I've a JTable with his own CellEditor en Renderer ( to handle Float values). When I do setValueAt(object, row, col) on the table I don't see the value in it. I only see it when I press escape. Can somebody explain me why? thanks, dries

  • X3-02 WLAN doesn't work :/

    Hi, can someone help me with that. When I'm pressing Available WLANs, its only showing me "No networks available" (it looks like its not even trying to find nearby AP) Two or three months ago it works great :/ My router have a WPA/WPA2-PSK security,

  • Layers Pallette Question

    I use PSE9 for digital scrapbooking.  Lately, when I have several pictures and elements on the page, I have to click on the Layers Pallette to select an item to move.  If I don't click on another item, the item I have just selected will move when I m

  • I am unable to download the Elements 11 to my Mac Air.

    Once I accept the download Elelements 11, on the Adobe page, the assistant doesn't fire up?? Having rebooted and cleared history, still no go. Any solution?