Calculation help in pizza order form

  • jlbaluarte
    Asked on December 2, 2015 at 8:59 AM
    Is to make an application form that works like this: the customer enters the pizzeria and goes PIZZA HALF HALF . He comes in and orders a pizza worth 20.00 and another amounting to 40.00 , but the value is always in the most expensive pizza?
  • Kiran Support Team Lead
    Replied on December 2, 2015 at 10:48 AM

    I'm not sure if I understand your query correctly. Do you mean to say that when two options with 20.00 and 40.00 are selected, only 40.00 is displaying instead of 60.00? I've tried to check your JotForms but I see different order forms in your account. Could you provide us with more information on the issue along with the form ID/URL. It would be helpful if you can provide us with screenshots so that we can guide you in the right direction. 

    We will wait for your response. Thank you!

  • jlbaluarte
    Replied on December 2, 2015 at 11:45 AM
    Meu Cliente Quer Que a Opo fazer Maior valor that Siga para o Cliente . Se para PEDIDO 2 Valores , SENDO UM valentia 55, frango e Outro 33, atum , que va n PEDIDO Atum e frango , porem o valor Maior , 55 e N that alguns sos Valores e VA 88
    ...
  • Kiran Support Team Lead
    Replied on December 2, 2015 at 1:29 PM

    Unfortunately, it seems that the online translation tool is not translating correctly and unable to get the issue completely. Could you please provide us with more information with the issue? Also, if you could let us know the form that you are working we would be able assist you in the right way.

    Thank you!

  • jlbaluarte
    Replied on December 3, 2015 at 10:45 AM
    I need a tool that the customer can buy a pizza half chicken and Portuguese 20 through to 28, but when the customer confirms the purchase to be canceled the lowest value ever. prevalescendo 28 and not twenty . And another , after choosing that has CONTINUE BUYING BUY or END option. Has as?
    ...
  • jlbaluarte
    Replied on December 3, 2015 at 10:45 AM
    I need a tool that the customer can buy a pizza half chicken and Portuguese 20 through to 28, but when the customer confirms the purchase to be canceled the lowest value ever. prevalescendo 28 and not twenty . And another , after choosing that has CONTINUE BUYING BUY or END option. Has as?
    ...
  • Charlie
    Replied on December 3, 2015 at 12:35 PM

    Could you check if this is what you have in mind: https://form.jotform.com/53364955114962? 

    Here's how I set it up:

    1. You have two menu options there. The 1st half of the pizza and the 2nd half of the pizza order.

    Calculation help in pizza order form Image 1 Screenshot 30

    2. I will assign calculation values on the check boxes, here's a guide: http://www.jotform.com/help/301-How-to-Assign-Calculation-Value 

     

    3. I will then use the Form Calculation widget to compare the inputs of the two pizza menu and get the highest value from them.

    I will use the nth() function here.

    Formula would be = nth(1, pizza 1 order, pizza 2 order) 

    Calculation help in pizza order form Image 2 Screenshot 41

    The function will get the highest value from the two check box fields.

     

    4. From there, we want to pass the calculation to the payment total field. You can do that by following this guide: http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field 

     

    I hope that helps.