4 Replies Latest reply on Jun 13, 2014 10:02 AM by Rhino111

    PDF Form Sum

    Rhino111 Level 1

      - I want to create a form that adds up the sume of 5 (yes, no, or NA questions) with each Y answer worth a value of 3 and N worth a value of 0. Easy enough but here is the kicker, if any of the 5 questions are answered N then the total must be 0.

        • 1. Re: PDF Form Sum
          gkaiseril MVP & Adobe Community Professional

          You need to create a custom JavaScript calculation. Also how you have setup the form.

           

          What type of fields are you using to select the "yes", "no" or "NA" answers?

           

          If you are using the check box, radio button, or combobox, have you set the export or option value?

           

          Since custom JavaScript needs to be created, you need to access the field object by field name and property of the field object.

          • 2. Re: PDF Form Sum
            Rhino111 Level 1

            Yes Im using Yes No and NA......I guess it's the custom JavaScript part that I don't understand. Is it possible to give me an example of what it would be . Thx

            • 3. Re: PDF Form Sum
              gkaiseril MVP & Adobe Community Professional

              What are the exact field names?

               

              What are the field types?

               

              What are the exact field names?


              • 4. Re: PDF Form Sum
                Rhino111 Level 1

                What are the field types?

                text box

                 

                What are the exact field names?

                 

                main text box is called

                 

                 

                Model Call Score

                 

                 

                which should equal the total of the following

                 

                 

                6 List Box 1

                 

                 

                6 List Box 2

                 

                 

                6 List Box 3

                 

                 

                6 List Box 4

                 

                 

                6 List Box 5
                -------------------------------------------------------------------------

                 

                 

                where Y=3

                 

                 

                N=0

                 

                 

                NA=NA


                Thanks so much!