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

    Conditional form

    Asked by fimep_srl on October 31, 2014 at 02:57 PM

    Hi, before I write this post I want to thanks all support Jotform that helped me in realization of a very difficult form. However after many steps we arrived to the final solution. Thanks!!

    This question I think is very simple:

    I've a form that has a conditonal add product, so when you select yes the next line is opened. However in every line there're five fields and the first is a dropdown menù. I had the necessity when is selected a specific item inside the dropdown menù the others fields on the same line change as the rule and this I made ok. When the next line is opened this is equal to the first but when I repeat the rule this doesn't work.

     

    Can you help me?

     

    I attach a screenshot.

     

     

     

     

    Page URL:
    www.fimep.it

    Screenshot
    conditional form JotForm next product selected
  • Profile Image
    JotForm Support

    Answered by KadeJM on October 31, 2014 at 04:44 PM

    From what I see in your screenshot it looks like you would like to apply conditional logic to work with each of your product rows if that is correct?

     

    If it stopped working after you added that then this means you either added or had a previous condition which is now conflicting with that field and so it stopped it from working properly.

    I sort of understand your image example. however I am slightly confused which I do apologize about in advance because I'm not sure where the diametro is coming from as I do not see anything that would allow it to be changed.

    Did you remove it when you added the last radio field field first?

    Or were you trying to change the inputs of Larghazza and Albezza from cm to diametro?

    You would need to use a condition to update that fields value for it or another field to then create the setup which you are trying to achieve.

  • Profile Image

    Answered by fimep_srl on November 03, 2014 at 12:18 PM

    Hi, I attach the screenshot hoping that this is more simple to help me :)

    Consider that these conditions works only on first line prodotto

  • Profile Image

    Answered by raul on November 03, 2014 at 02:00 PM

    Hello,

    Upon checking your website I noticed that when I selected "Obio Fissio" nothing changed (Diametro was not shown and Larghezza and Altezza were not hidden)

    But, I don't see the same conditions on that form that's embedded on that page as in the screenshots you shared with us.

    Can you please confirm if you're referring to this form: http://www.fimep.it/preventivo/?
    If this is correct, please verify that you're working on this form: http://www.jotformeu.com/form/42591330415347 since it's the one that's embedded on the site.

    Please let us know.
    Thanks.

  • Profile Image

    Answered by fimep_srl on November 03, 2014 at 02:23 PM

    Hi I'm working on a clone, cause I can't modify in every way the form I've online on www.fimep.it. This is the clone:

    http://www.jotform.com//?formID=42956393284365

    Thanks

  • Profile Image

    Answered by raul on November 03, 2014 at 03:51 PM

    Hello,

    I checked the cloned version of your form and I noticed that there are 7 "Diametro" fields by default.

    And when I select "Oblo Fisso" then a new "Diametro" field is shown and Largezza and Altezza are hidden.

    I understand that this is the behavior that you want to replicate when a new product line is added, right? In other words, the first 7 "Diametro" fields are just for testing purposes, right?

    Please let us know as this will help us to understand better what you want to accomplish and then provide a solution.

    Thank you.

  • Profile Image

    Answered by fimep_srl on November 04, 2014 at 03:05 PM

    Hi, my necessity is that every line has the opportunity to select in the first field "oblo" and have only fields diametro and quantity displayed (no larghezza and altezza). Basically if you select the others options in first field diameyro has to be not displayed (larghezza, altezza and quantity yes).

    After I add new prodotto I need that the rules replicates without issues. So I need to know how many times field diametro has to be put into form and what rules I have to use for the 2,3,4 lines cause the rules I sent work only on first line. I hope this explanation is enough...

    Best regards

     

    Fimep srl

  • Profile Image

    Answered by raul on November 04, 2014 at 04:14 PM

    Thank you for providing more details about what you want to accomplish.
    I think I have a better idea now.

    Please allow me some time to replicate your form on my side and see if I can accomplish this.
    I'll get back with you later with my results.

    Best Regards.

  • Profile Image

    Answered by raul on November 06, 2014 at 09:40 AM

    Hello again,

    I've created this demo form for you to look at: http://form.jotformpro.com/form/43093742248962

    I've added the logical conditions in order to achieve what I understand that you're looking for, please take a look at it and let us know if it works for you.

    Please note that this form shows the 10 product lines by default, I did this for you to be able to test each line easily. If the current conditional settings of the demo form works the way you want for each line then you can add the conditions to show/hide them.

    Feel free to clone this form if you want to.

    Thanks.

  • Profile Image

    Answered by fimep_srl on November 06, 2014 at 03:10 PM

    Great work!!! It is the exatly request I sent to you. Now if I add this form with this conditional rules you applied how I make the rules for adding prodotto so each line is displayed time by time with inside the work you made? Can I use other conditional rules for example when "si" is clicked the second line is displayed with these rules:

     

    if field yes is equal to "si" after display multiple "larghezza, altezza, quantità" but no "diametro".

     

    Fimep srl

  • Profile Image

    Answered by raul on November 06, 2014 at 04:30 PM

    Thank you, I'm glad that the demo form worked for you :)
    I would rather go by hidding the line if the adding product is not equal to Si.

    I updated the demo form in order to include the new conditions to show/hide the additional product lines.
    Please take a look at it and let us know if you need further assistance.

    Thanks.