Feature Request: Perform conditional calculations

  • Profile Image
    tjaardheikens
    Asked on November 16, 2013 at 05:03 AM

    Hello,

     

    This new post is for asking a new feature for Jotform. It is now possible to add calculations to a form. Thank you very much for that feature. 

    The next 'logical' step would be to make conditional calculations. 

    The most inportant calculation could be something like:

    IF {persons}=2 Then {totalprice}={price} * 2 Else {totalprice}= {price}  

     

    I hope that this feature will be added soon to Jotform.

     

    Best regards,

    Tjaard Heikens

  • Profile Image
    NeilVicente
    Answered on November 16, 2013 at 08:38 AM

    Can you give me the name of the form you are currently working on?

    If {persons} is a field, then this should be easy to achieve.

    I look forward to your response. Thanks!

  • Profile Image
    tjaardheikens
    Answered on November 16, 2013 at 08:52 AM

    I am working on http://form.jotformpro.com/form/32162762045954?

     

    Best regards

     

    Tjaard

  • Profile Image
    Welvin
    Answered on November 16, 2013 at 11:47 AM

    Hi Tjaard,

    You could try this, add another field that would do that particular calculation (x2) aside from the one that would do the original calculation. Then use Show/Hide Conditional Logic to only show that field if field1 is equals to 2...

    Example form here: http://www.jotformpro.com/form/33194273529964

    The Form Settings:

    the calculation settings for Total-1: You will see the calculation is normal

     

    the calculation settings for Total-2: You will see the calculation is total x 2

     

    the conditional logic settings:

     

    If you are confused about the images, please let me know and I will do my best to explain how to achieve this.

    Thanks

  • Profile Image
    tjaardheikens
    Answered on December 04, 2013 at 03:03 AM

    Hello,

    This slolution is to complicated. 

    Is there already more information about the feature request about conditional calculations?

     

    Best regards,

     

    Tjaard

  • Profile Image
    Welvin
    Answered on December 04, 2013 at 08:36 AM

    Hi Tjaard,

    This is already added to our feature request list. Unfortunately, NO update as of the moment. I can help you with the workaround, if you want to implement the same. It's just a few step.

    Thanks