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

    Calculation forms: help to calculate the cost and percentage

    Asked by Anissa Veal on May 03, 2014 at 11:50 PM
    OK awesome, I got it....
    Now I need a little help with the form...
    I want to have the cost automatically calculate what they owe instead of
    them having to input what they owe.
    For example for Sessions 1 OR Session 2 it's $80, but if they want both
    sessions it's $140.
    Also want it to calculate a 10% off registration fee for a sibling that is
    registered.
    Can you help me figure out how to do that.
  • Profile Image
    JotForm Support

    Answered by Welvin on May 04, 2014 at 03:38 AM

    Hi Anissa,

    Can you please check this form: http://www.jotformpro.com/form/41231555690957? Is this what you are trying to do? Please confirm so I can proceed and give you the steps.

    Thanks

  • Profile Image

    Answered by Anissa Veal on May 04, 2014 at 08:41 AM
    That one seems confusing.Is there a way we can put a "add child" button,
    let them put in the information for second child, choose the session(s)
    for that child then get a grand total?
    They get 10% discount off costs for 2nd child not 10% discount off whole
    total.
    ...
  • Profile Image

    Answered by Anissa Veal on May 04, 2014 at 09:31 AM
    That one seems confusing.Is there a way we can put a "add child" button,
    let them put in the information for second child, choose the session(s)
    for that child then get a grand total?
    They get 10% discount off costs for 2nd child not 10% discount off whole
    total.
    ...
  • Profile Image
    JotForm Support

    Answered by EltonCris on May 04, 2014 at 10:59 AM

    @Anissa 

    To show a new set of fields, you have to apply hide/show conditions first before going with the calculation.

    Example condition:

    Example Form: http://form.jotformpro.com/form/41234178121950?

    You can add as many fields as you want and then you can proceed with applying the calculation.

    You can clone the provided sample form to find out the condition setup.

    If you need further assistance, let us know here. Thanks!

  • Profile Image

    Answered by Anissa Veal on May 04, 2014 at 05:01 PM
    That's perfect
    ...
  • Profile Image

    Answered by BryanPaulo on May 04, 2014 at 05:10 PM

    Hello Anissa,

    have you had your form working? 

    Please let us know if you need further assistance.

    Bryan

  • Profile Image

    Answered by Anissa Veal on May 04, 2014 at 08:11 PM
    This is EXACTLY what I need. Can you help show me how to do this for the
    forms I have created?
    ...
  • Profile Image
    JotForm Support

    Answered by ashwin_d on May 04, 2014 at 11:38 PM

    Hello Anissa,

    You can take advantage of our "Condition" features to achieve your requirement. Here are the steps to create forms similar to what my colleague have created:

    1. Add the set of fields for second and third child in your form.

    2. Add a condition to check if the value of checkbox "Add Child" is "Yes" and then display the corresponding set of fields.

    3. Similar condition needs to be added for "Second Child" as well. The following guide should help you in adding conditions for show/hide form fields:  http://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic

    There is one another way of show/hide multiple form fields based on one single condition. Idea is to add a "Form Collapse" in your form and move the one set of fields for child under one form collapse. Then you can add one condition to show just the form collapse which will in turn display all the fields. The following guide should help you: http://www.jotform.com/help/196-How-to-Hide-or-Show-Multiple-Fields-at-Once-Based-On-a-Single-Conditional-Entry

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!