Form Rules Logic Issue

  • Profile Image
    Orel 
    Asked on September 16, 2015 at 11:14 AM

    Hi,

    I have a form with several options for donation memberships. A user can select any number of memberships, each of differing cost. I would like the resulting price to be tallied automatically. For example, user 1 can sign up for A, B, and C. A costs 100, B 200, C 300, and so on. The final result should be 600. I can't presently figure out a way to do that. The field options allow me to have a form for price, and a form for checkboxes where I put the donation option fields, but no way to auto-calculate the checkboxes selected and their associated value. If you can please help me with that, that would be great.

     

    Thanks, 

    Orel 

  • Profile Image
    Sammy
    Answered on September 16, 2015 at 02:17 PM

    Hello Orel,

    You can achieve this using check-boxes then adding calculation values after that you can use the form calculation widget and calculate the total of the selected options using the average function

    Here is short screencast on how to add the calculation to the form calculation widget.

    Please let us know if you need additional clarification.

    Here is a link to the form used in the demo http://www.jotformpro.com/form/52512723819961

  • Profile Image
    tkswoodlands
    Answered on March 21, 2017 at 03:01 PM

    The calculation seems to be summing up the values and not averaging it.  How do you average?

  • Profile Image
    Mike
    Answered on March 21, 2017 at 05:52 PM

    @Tkswoodlands,

    Your thread has been updated, please use the formula suggested by Kiran.

    Thank you.

  • Profile Image
    tkswoodlands
    Answered on March 23, 2017 at 11:30 PM

    That works!  Thank you so much!