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

    How to setup my conditions correctly?

    Asked by longislandiphones on November 26, 2014 at 04:30 AM

    Hi,

    I'd really appreciate help!  I'm getting lost setting up conditionals.  

    My goal is simple:  The user first selects the "Number" of phones they're selling (between 1-10).  Based on the number they select, the respective number of sections appear, one for each phone.  For each phone, they specify the "Model" of phone.  Based on the model, the following field, "Memory," needs to only offer the values related to the model they selected.  Same with "Color" fields.  

    I would tremendously value some assistance here, and you can take a look at the current state at the link below. Note that I've only defined the conditionals up to 2 phones.   When you select "2," you initially see every field.  But when you select the model within 2, the appropriate conditional responses appear.  How can I make it so that not every single field is displayed when you first click "2" phones.

    I tried using the dynamic dropdown widget from JotForm but it doesn't allow for titles for each dropdown list, and couldn't handle the job.

     

    Thanks!!

     

    Page URL:
    http://www.longislandiphones.com/

    sections responses selected select conditions
  • Profile Image
    JotForm Support

    Answered by Charlie on November 26, 2014 at 09:39 AM

    Hi,

    I see that you have some conflicting conditions, I would like to ask if you could give us more details on what to show and which fields should corresponds to this. But upon checking your form, I think I understand some of them.

    Here's my input and what I edited.

    1. First I disabled all conditions.

    2. Do not use hide action when you are planning to show fields, this usually causes conflicts.

    What is the problem in the above condition?

    The problem is that this:

    Condition 1: If this is met you will hide these fields, if not show them.

    Condition 2: If this is met you will show these fields, if not hide them.

    The bold and italic is the automatic condition that will be implemented when the condition is not met, so if you have "Show" and "Hide" condition is one Field, let's say "Phone Model", it will cause conflict. It is advisable to use "Show" only which automatically HIDES them when the condition is not met.

    The simpler version of the above, but in a different field, is this:

    If the "Number of Phones" is equal to "1" it initially shows the following fields, other fields like memory will depend on another condition related to the "Model" of phone.

    I then enabled some of the conditions that is related to Model and to Memory for Phone 1.

    3. Another is that, you have fields that have default selected values on them which automatically shows all the field on first display. Example is that the field "Number of Phones" has a default value of "1" which already shows other fields because of the conditions (I might be wrong on this one). I would recommend that you select a blank or null or no value for default selection.

    4. I cloned your form and edited it. You can check if the conditions work as you expected, you can then clone the form to see my conditions. Please do take note that this is only for Phone 1.

    Here's the cloned form: http://form.jotformpro.com/form/43293645990970? 

     

    This is quite a bit lengthy but I hope this helps or at least gives you an idea on how to proceed. Let us know if you need further assistance on this.

    Thank you.