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

    Filter products

    Asked by discrover on February 20, 2017 at 03:28 PM

    Hi, I would like to make a Reservation Form for products according to them duration; DAY TRIPS, WEEK LONG TOURS..

    instead of showing all products (Tours) which I sell.

    I make a  required filter (DAY TRIPS, WEEK TOURS) but cannot finish filtering products.

    How can I hide or filter some products according to upper filter?

    https://form.jotformeu.com/70505541321343

    Any idea?:)

  • Profile Image
    JotForm Support

    Answered by BDAVID on February 20, 2017 at 04:45 PM

    It is not possible to show/hide specific products of your payment field. If you want to accomplish that, you will need to create you product in native fields such as Drop Down, Single Choice, or Multiple Choice fields, and assign values to each option: https://www.jotform.com/help/301-How-to-Assign-Calculation-Value 

    Then perform your calculation to obtain the total: https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget 

    An finally, pass the total amount to your payment field: https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field 

    Let us know if you need more help.

  • Profile Image

    Answered by discrover on February 20, 2017 at 06:24 PM

    Thank you very much on quick respond.

    Now I need to put code for calculate sum of all people, so I need to sum number of ( Adults and Children's) Is there option for it?

    How calculation should look like in this case?  Need this;

    Product cost= 10$  

    size S: x1

    size M: x 3

     SUM 1+3=4

    SUM:4X COST OF PRODUCT:10=40

    https://eu.jotform.com/build/70505541321343#preview

     

    Is there any possibility to put discounts for "size S"?

  • Profile Image
    JotForm Support

    Answered by BDAVID on February 20, 2017 at 07:57 PM

    "Now I need to put code for calculate sum of all people, so I need to sum number of ( Adults and Children's) Is there option for it? "

    Here is how:

    Result:

    "How calculation should look like in this case?  Need this;

    Product cost= 10$  

    size S: x1

    size M: x 3

     SUM 1+3=4

    SUM:4X COST OF PRODUCT:10=40"

    Example:

    Let us know if you need more help.