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

    Can an input value be removed when someone changes the parent option of a conditional form?

    Asked by intelligentwt on December 02, 2013 at 06:48 PM

    What I mean for example is,

    I have a Dropdown Menu with several Options with conditions attached to them. So I have what I'll call Dropdown Menu 1. If selecting Option 1, it reveals Dropdown Menu 2. If selecting Option 2, it reveals Dropdown Menu 3.  

     

    Dropdown Menu 1

    - Option 1

     -----Dropdown Menu 2

     --------- Option A

    - Option 2

     ------Dropdown Menu 3

     ---- -----Option B

    If someone selects Option 1, and then selects Option A from Dropdown Menu 2 but changes their mind and switches Dropdown Menu 1's option to Option 2, it hides Dropdown Menu 2, but it keeps the input value "Option A." So, when Dropdown Menu 3 has Option B selected the submited values are both Option A and Option B, rather than just one of them. 

     

    Basically I'm asking, when a parent menu's option changes, and the child menu is hidden, can the input value of that child menu be set back to blank? 

    parent hidden selected div condition input submit
  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on December 02, 2013 at 11:42 PM

    Is this example close to what you are looking for? Otherwise you must describe the exact escenario with punctual names of the fields.  Please provide also with the form name or form link in order to find a help for you

  • Profile Image

    Answered by intelligentwt on December 03, 2013 at 11:06 AM

    I'm using my form to run a search for tags on certain products on our website so a majortiy of the work I'm doing is offline until it's ready so I cannot provide a link to the full project, I am sorry. Here is a link to what I have on Jot Form. http://form.jotform.us/form/33306801047143?
     
    But, yes, in that example you've linked, the List of Materials drop down will give Color of Material 1 and Color of Material 2.  The issue I'm trying to solve is that if you select List of Materials 2, and then Color of Material 2 to something like Red, but then change your mind and change List of Material to 1, and select Color of Material 1 to blue, it'll keep the hidden dropdown menu's value of "red" and submit that as well giving you, or in my case my search engine, "blue, red."

    I need it so that when you change the List of Materials drop down menu, it'll reset the Color Of Material 1 and 2 to their default blank value.  I was wondering if this was possible. 

  • Profile Image
    JotForm Support Manager

    Answered by Jeanette on December 03, 2013 at 04:10 PM

    Very clever catch. Let me do some testing and allow me a day or so, probably I might need to escalate to our developers