What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Form calculation widget is not calculating a value when FEMALE is chosen

    Asked by AthleteTrax2 on February 03, 2017 at 07:55 AM

    Hi,

    I have two gender options that coaches can choose from, if they choose MALE, the next question will ask " How many teams are you registering?"  then it calculates the amount of teams with the corresponding rates under total team fees.

    The problem is when I choose FEMALE then I assigned a different version of "How many teams are you registering??" to pop up, but when a amount of teams is chosen the total team fees do not calculate as the Male did.

     

    Please help

     

    thank you

    Page URL:
    http://www.premier1events.com/reg---northeast-championships

  • Profile Image
    JotForm Support

    Answered by candy on February 03, 2017 at 08:53 AM

    Hello,

    I've tested your form on your side and checked your conditions.

    First of all, my recommendation is please hide both of the "HOW MANY TEAMS ARE YOU REGISTERING" questions and if a user selects one of the genders, show the related one. Because the both of them appear on the form at the beginning as you can see in the following screenshot which is not very nice:

    If the user selects "HOW MANY TEAMS ARE YOU REGISTERING" options first and after selects genders, this situation could cause calculation mistakes.

    Related to your main problem, as I have seen you have only added the first "HOW MANY TEAMS ARE YOU REGISTERING?" field to the Form Calculation Widget as you can see the screenshot below:

    So, it is normal that the Total Team Fees named Form Calculation widget will only calculate the value for MANs. There is no other Form Calculation widget in order to calculate a value for FEMALEs.

    You need to add another form calculation widget for FEMALEs and add the "HOW MANY TEAMS ARE YOU REGISTERING??" field to that widget. Please set both of the form calculated widgets as hidden at the beginning. After that, set a condition if a user selects MAN option from the genders, you need to show the first Form Calculation widget that calculates a price for Mans. And set another condition if a user selects the FEMALE option from the genders, you need to show the second Form Calculation widget that calculates a price for Females. 

    This is going to solve your problem.

    Please try and if you need further assistance, let us know.

    Thanks in advance.