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

    Conditions not working properly on the form

    Asked by tomorrownight on October 13, 2014 at 10:30 AM
    Secondly - Ive got a lot of conditions in this form, and X can be Identical to Y, but X works and Y doesnt (for example only 30% of the time does the "weekend ticket (Fri-Sun)" add money into the calculation. )  Then ive got a similar issue (which might be me missing something), if you add Wednesday (in choose days) it adds £12 as required, but then when you choose "Go Karting" it takes the previous number away and adds the value of Go Karting (£6) - why is this?  Else where it works and the rules and conditions are exactly the same (apart from the price difference).
  • Profile Image
    JotForm Support

    Answered by Welvin on October 13, 2014 at 12:14 PM

    Hi,

    I'm checking this now. I will get back to you for my findings.

    Thank you!

  • Profile Image
    JotForm Support

    Answered by Welvin on October 13, 2014 at 12:51 PM

    Ive got a lot of conditions in this form, and X can be Identical to Y, but X works and Y doesnt (for example only 30% of the time does the "weekend ticket (Fri-Sun)" add money into the calculation.

    -Actually, the conditional logic aren't working because you have set a Calculation Values to the settings. It looks like the conditional logic is working to this field, but not. It's the calculation values:

    I have added 20 to the settings and it's working, check this clone version of your form: http://www.jotformpro.com/form/42855093224960. Also, that is since you have an existing calculation to the widget:

     

    I think you need to have a separate calculation widget that would sum up all the fields. Then you can use the Calculation Values instead of the conditional logic.

     

    Then ive got a similar issue (which might be me missing something), if you add Wednesday (in choose days) it adds £12 as required, but then when you choose "Go Karting" it takes the previous number away and adds the value of Go Karting (£6) - why is this?  Else where it works and the rules and conditions are exactly the same (apart from the price difference).

    -This is because you have two conditional logic. The second one overrides the first one. Note that there's a priority between the conditional logic. What you can do is to add an extra calculation widget that sum up all the fields. Then use this to the payment field.

    I will try to come up with a possible solution on this.

    Thank you!

  • Profile Image

    Answered by tomorrownight on October 14, 2014 at 03:32 AM

    ok awesome, thanks, i think ive sorted it now!

  • Profile Image

    Answered by tomorrownight on October 14, 2014 at 06:31 AM

    something else on this note though -
    when i go to When would you like to come: Weekend Ticket,
    It adds £20 into the calculation, but then when you click on a job, it adds the £5 from that as well, even though ive said to take it away.  it should be -£5 but its the same as all the other minus conditions for the other days.  how si this one different (ive followed your instructions above.)

  • Profile Image
    JotForm Support

    Answered by Welvin on October 14, 2014 at 08:04 AM

    Do you mean the "Festival Weekend (Inc. Party)" option? Then selecting any from the "Weekend Jobs" jobs which is a Gift Registry widget adds "5" to the "Weekend Discount" field at the bottom. Then should be 15 on the calculation = less than 5?

    If yes, then that is because the "Weekend Discount" is not included in the calculation. As you could see from my previous screenshot. Here's it is again:

    You have to add the Weekend Discount field to fix that: 

    Thank you!