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.

  • Profile Image

    Hidden fields reappearing

    Asked by theagencyre on March 16, 2012 at 04:11 PM

    In this form, when someone selects an item from the Marketing Menu checkbox area, another area appears below.  Within some of these areas e.g. LA Times, there is an open house section, which begins with a yes/no radio button.  If they choose yes, more fields for details about the open house appear below.  If they choose no, these fields are not shown.

    The problem:  if someone chooses No for open house, then selects an additional item from the Marketing Menu area, the open house date & time fields reappear, even though No is still selected for that open house.

    For example, if you select the LA Times checkbox in Marketing Menu, then in the area that appears for LA Times Ad Info select No for open house, then select E-Mail Blast in the Marketing Menu, the open house date & time fields appear again under LA Times Ad Info.

    Page URL:
    http://forms.theagencyre.com/form/20645913589968

    hidden checkbox problem
  • Profile Image
    JotForm Support

    Answered by gori-mathew on March 16, 2012 at 04:29 PM

    Hello;

    Kindly go through this links for more guidelines on how to solve it using using condition feature on this link; http://jotform.com/help/57-Conditional-Logic-on-Forms. You can show or hide questions depending on the choice a user chooses.

    Here are some examples:

    http://www.jotform.net/answers/4105-Is-it-possible-to-have-subforms

    http://www.jotform.net/answers/4812-Can-I-have-a-section-of-my-form-that-is-created

    http://www.jotform.net/answers/4920-How-to-display-certain-fields-if-person-s-age-less-18-years

    Lets us know if this was of help.

  • Profile Image

    Answered by theagencyre on March 16, 2012 at 04:48 PM

    Thanks for your response, I've reviewed the examples and I think I have everything configured correctly.  Can you take a look at the conditions for that form and let me know if I should be doing something differently?

  • Profile Image

    Answered by jeanettebmz on March 16, 2012 at 05:31 PM

    Based on what you have stated here:

    If they choose yes, more fields for details about the open house appear below.  If they choose no, these fields are not shown.

    I think it will be more suitable if you choose a positive condition instead of a negative one

    like this:


    In that picture it shows you that , in a programming logic,  the sintax would be


    If Open House is filled  THEN

    SHOW  Open House Start Time field

    OTHERWISE hide

     

    I hope this gives you a better idea and you can fix the problem

    Jeanette!

  • Profile Image

    Answered by theagencyre on March 20, 2012 at 08:33 PM

    Thanks for your response.  All of my conditions are positive.

    They are set up as:

    If Open House field equals to yes

    Then Show ....

    My problem is that selecting unrelated checkboxes causes my conditions to stop working.  How can I fix it?

  • Profile Image

    Answered by jeanettebmz on March 20, 2012 at 09:13 PM

    I can see that now,  you are talking about this form http://www.jotformpro.com/form/20645913589968

    Could you please tell if Form ID: 20255837295  is still giving you problems? Or did my advice worked for this one?

    I am working on the form id 20645913589968 in order to reproduce the error


  • Profile Image

    Answered by theagencyre on March 21, 2012 at 02:43 PM

    This problem never occurred with 20255837295

  • Profile Image
    JotForm Support

    Answered by Mike_T on March 21, 2012 at 06:53 PM

    You have "duplicated" conditions to Show the same fields, for example:

    Show "Open House Date:" if "Marketing Menu" is equal to "LA Times"

    and

    Show "Open House Date:" if  "Open House?"  is equal to "Yes"

    I have removed these duplicated conditions in the following form, and it seems to be working fine:

    http://form.jotformeu.com/form/20807351339351

    You can Clone mentioned above form to see the conditions.

    Please feel free to contact us if you need any further assistance.

  • Profile Image

    Answered by jeanettebmz on March 21, 2012 at 06:59 PM

    Hello

    As my colleague Mike has stated, you have several duplicated  conditions

    I would suggest that you also add 2 rules in one condition , as shown below

     

    I also would suggest you to use the condition "filled"  instead of "equal to"  for date fields, as shown below

     

    Let us know if you need further assistance

    Jeanette

  • Profile Image

    Answered by theagencyre on March 21, 2012 at 08:43 PM

    Correcting the duplicate conditions seemed to help.  Thanks!