How do I create condition to show/hide fields

  • Profile Image
    NYSCoordinator
    Asked on April 08, 2016 at 11:27 AM

    In other words, if I have two selections in a drop down menu, example" for simplicity (the dropdown has either one or two), if I choose one, then a form shows up, if I choose two then a different form shows up.  How do I do this?

    In the attached link, about midway down the page I have a collapse named "Need to Swap a Game? Click here ---->".  I would like to have this as my Two choice (it would be called "Swap a Game") and then have the main form as my One choice (that would be called"Reschedule a Game")

    Thanks,

    Peter

  • Profile Image
    victor
    Answered on April 08, 2016 at 12:59 PM

    If I understand you correctly, you would like to create a dropdown. Depending on the selection, you would like certain fields to be shown or hidden. 

    As you can see this is pretty simple, once you have included the dropdown with the option you prefer.

    You just require to create a show/hide condition. On the main toolbar press the CONDITION button

    and select the SHOW/HIDE fields option

    I have clone your form and introduced the condition.

    https://form.jotform.com/60985199023968

    You may clone the form so you can analyze and review as you like.

  • Profile Image
    NYSCoordinator
    Answered on April 11, 2016 at 03:22 PM

    Thanks, I used a variation of this where I hid certain fields with the Show Multiple function.  Take a look.

    Reschedule or Swap a Game

     

    Thanks again,

    Peter

  • Profile Image
    Mike
    Answered on April 11, 2016 at 04:54 PM

    It seems to be working right on your web page.

    If you need any further assistance, please let us know. We will be happy to help.

  • Profile Image
    NYSCoordinator
    Answered on April 11, 2016 at 06:01 PM

    No, I know it works, I was just commenting to the first person that helped me, that through his help I discovered another method of doing what I needed to do.  So I just wanted to thank him, and show him what I did.

    you guys/gals are great

     

    Thanks again,

    Peter

  • Profile Image
    Kiran
    Answered on April 11, 2016 at 11:15 PM

    Oh! Okay. We are glad to see that you discovered another way that helped to resolve the issue. It's our pleasure to assist you. Please do not hesitate to get in touch with us if you need any further assistance. We will be happy to help. 

    Thank you for using JotForm!!