How to set the if condition to make the calculator work?

  • Profile Image
    GennieM
    Asked on February 16, 2018 at 08:13 AM

    I have an order form set to have the following variables affecting price: Urgency, level and Spacing. How do I set the if condition to make the calculator work and give the correct values. I have hit a dead end. Thank you.


  • Profile Image
    Richie_P
    Answered on February 16, 2018 at 10:10 AM

    I checked your condition and I can't seem to understand how to derive your formula.

    Can you give me an example of your flow and the calculation to derive the to the total value?

    For the meantime, We can use Form Calculations to get the your calculation values.

    and add a formula, lets say urgency * number of pages.

    Here is a sample screen cast.

    Thank you.


  • Profile Image
    Richie_P
    Answered on February 16, 2018 at 04:45 PM

    You can use the Form calculation widget to select the proper values.

    -Form+Calculations

    I checked your form and for the number of pages, you have different calculation values, from your example given pages: 5 has a value of 60 in your form.

    Level of  work has its own calculation values.

    Here is my cloned form.https://form.jotform.com/80464268607967

    Hope this information helps.


    Please let us know if we can be of further assistance.

  • Profile Image
    GennieM
    Answered on February 16, 2018 at 06:40 PM

    I'm yet to crack this! The many tutorials notwithstanding. Any better way?

  • Profile Image
    Mike
    Answered on February 16, 2018 at 09:11 PM

    You can use separate fields to be able to use them in calculations.

    Show the appropriate field based on the conditional logic.

    Here is a sample form:

    https://form.jotform.com/80467487874979

    You can clone it to your account:

    How to Clone an Existing Form from a URL

  • Profile Image
    GennieM
    Answered on February 17, 2018 at 06:15 AM

    Thanks Mike, I've just cloned the form. Now is it possible to pass calculation value from one form to another so as to have Payment through Stripe or Paypal? Can the form be used in a Wordpress Site?

  • Profile Image
    Ardian_L
    Answered on February 17, 2018 at 07:23 AM

    If you want to have more than one payment on the form you need to follow the instructions from the link below:

    https://www.jotform.com/help/182-How-to-Create-a-Basic-Multiple-Payment-Form

    Yes the form can be used on a WordPress Site. You have some methods on how to integrate your form on a WordPress site, please follow the instructions on the link below for more information:

    https://www.jotform.com/help/324-A-Guide-to-Embed-Forms-for-WordPress-Users

    Please let us know if you have any other question. Thank you!

  • Profile Image
    GennieM
    Answered on February 17, 2018 at 11:22 AM

    My concern is on how to pass the calculated value in one form to the payment forms so that a user can check out.

    See my form here: https://form.myjotform.com/80471076679567

  • Profile Image
    TREVON
    Answered on February 17, 2018 at 02:12 PM

    Its not possible to pass the value between the form without the form being submitted. However there is a work around I think may work.  

    I have created a main form which will have two form embedded to it. One form will have stripe Payment configured on it and the other will have PayPal form configured  in it. 

    I then create a radio element with allows user to select the payment method they want to pay in and then it will load the form where user will enter details of services they need and pay on the embedded form.

    Below is a sample form:

    https://www.jotform.com/80475891693976

    Below is a guide on how to create a form supporting multiple payments as illustrated above.

    https://www.jotform.com/help/182-How-to-Create-a-Basic-Multiple-Payment-Form

    Kindly feel free to clone and use the form.