Form doesn't calculate properly

Ask a Question related to Adobe Acrobat Macintosh, Design and Development.

  1. #1

    Default Form doesn't calculate properly

    Acrobat 7.0.8 Professional. Mac OS 10.4.8
    ----------------
    I have had this problem every time I've attempted to create a form with a calculation field...

    I have made a form that incorporates a small table. Rather than explain everything in my form, I'll simplify it into the process below. (Yes, my fields and form are set up properly, calculations defined, etc...my actual form is only slightly more complex than the example below because it adds 16 fields instead of 2...but the problem is identical).

    Try this in a new PDF form of your own:
    A/ Define the fields (Field A, Field B, and a "TOTAL" field with the appropriate calculation instructions (SUM of 'Field A' and 'Field B').
    B/ Enter "5" into Field A -- the TOTAL should say '5'. Everything good so far.
    C/ Enter "2" into Field B -- the TOTAL should say '7'. It doesn't. It says '5'
    D/ CHANGE one of the numbers. Let's change '2' to '4'. The TOTAL should say '9' (5+4). It doesn't. It says '7' (which is what it should have said after our step C.
    E/ keep changing numbers. The TOTAL field is always one step behind...showing the SUM it should have shown in the previous step.

    How can I fix this? Argh. It's very frustrating.
    John_Bakker@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. form not behaving properly
      Oh bother, I am having difficulty with my registration page. It is an asp page using an access database. When I specify the forms fields in the...
    2. Calculate values
      Hello I have a form with 26 fields and am trying to use a function for calculating a particular quantity. The user enters two values...
    3. Calculate Age from DOB
      I need a calculation that indicates how old (based on the DOB field) someone is in years /months/days. I'd be grateful for years and months only if...
    4. Calculate next available IP
      Is there a module, or a readily available algorithm, for calculating the next available IP Address? Let's say I have an array...
    5. form not stretching properly
      "stijn" webforumsuser@macromedia.com wrote: add margin: 0px; to your FORM styles FORM { font-family: Verdana, Arial, Helvetica, sans-serif;...
  3. #2

    Default Re: Form doesn't calculate properly

    dear john
    i am no expert but ...
    i had a lot of trouble setting up the calc too ...
    you may want to check your script ...
    to ensure that the field is set to activate upon exit rather than when
    you enter a number ...
    or the other way around ... depending when you actually want to have
    the field change the number...
    when i made my table i had to get two different java guys in ... first
    one then the other...
    to eliminate all the possabilities before we found the right
    arrangement...
    mostly it is a time issue ...
    farm it out to a java or code writer ...
    who will be less frustrated with the process and whose only goal is to
    make the table calculate ... unlike you whose goal is to make a larger
    work flow happen...
    good luck ...
    laston lastof
    [email]John_Bakker@adobeforums.com[/email] wrote:
    > Acrobat 7.0.8 Professional. Mac OS 10.4.8
    > ----------------
    > I have had this problem every time I've attempted to create a form with a calculation field...
    >
    > I have made a form that incorporates a small table. Rather than explain everything in my form, I'll simplify it into the process below. (Yes, my fields and form are set up properly, calculations defined, etc...my actual form is only slightly more complex than the example below because it adds 16 fields instead of 2...but the problem is identical).
    >
    > Try this in a new PDF form of your own:
    > A/ Define the fields (Field A, Field B, and a "TOTAL" field with the appropriate calculation instructions (SUM of 'Field A' and 'Field B').
    > B/ Enter "5" into Field A -- the TOTAL should say '5'. Everything good so far.
    > C/ Enter "2" into Field B -- the TOTAL should say '7'. It doesn't. It says '5'
    > D/ CHANGE one of the numbers. Let's change '2' to '4'. The TOTAL should say '9' (5+4). It doesn't. It says '7' (which is what it should have said after our step C.
    > E/ keep changing numbers. The TOTAL field is always one step behind...showing the SUM it should have shown in the previous step.
    >
    > How can I fix this? Argh. It's very frustrating.
    Laston Lastof Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139