How hide/show fields in form by using conditions?

  • aricurn
    Asked on September 28, 2016 at 5:18 AM

    I received some advice about adding parameters into the hidden fields in my pet online registration form for a vet practice, but I am SO confused by the instructions and the fields that I have added in (for Pet 2 and Pet 3) are not hidden so my form looks very messy with 5 parameters (as shown with bullet points) not hidden

    Would you like to add another pet?

    yes no

    Pet 2 Sex:

    Male Female

    Pet 2 Neutered:

    Yes No

    Pet 2 Microchip Number (if known):

     

    Pet 3 Sex:

    Male Female

    Pet 3 Neutered

     

    - please help with this

     

    Many thanks

  • sevkiyontem
    Replied on September 28, 2016 at 6:46 AM

    Hello,

    I think you did not define conditions for the fields that are not hidden. 

    Also have a look at the introduction to conditionals under the heading smart forms.

     

    I hope this helps,

    All the best.

  • aricurn
    Replied on September 28, 2016 at 7:46 AM
    Oh my goodness - it is all so complicated and I still cannot get it to work - keep getting 3 fields still showing! Don't know how to define conditions and I have read the article you forwarded me to!Thank you for your helpArielleOn 28 September 2016 at 11:45 JotForm <noreply@jotform.com> wrote: New response receivedA new response has been received:Answered by sevkiyontem  Hallo,I think you did not define conditions for the fields that are not hidden. Also have a look at the introduction to conditionals under the heading smart forms. I hope this helps,All the best. View this thread on browser » Unsubscribe Thread1475059571 
    ...
  • Nik_C
    Replied on September 28, 2016 at 11:47 AM

    I checked your form and I see what is the problem.

    You had conditions created, but then, I assume, you did some changes on your form so your conditions broke. Also in order for those conditions to work properly you have to hide all fields that are included in conditions:

    How hide/show fields in form by using conditions? Image 1 Screenshot 20

    And that will work as intended.

    If you don't mind, I fixed your conditions and all those fields so please check and let us know how it works for you.

    Thank you!

  • aricurn
    Replied on September 28, 2016 at 12:46 PM
    Many thanks - it all seems to be sorted nicely now -thank you for all your helpKind regardsArielleOn 28 September 2016 at 16:47 JotForm <noreply@jotform.com> wrote: New response receivedA new response has been received:Answered by Nik_C  I checked your form and I see what is the problem.You had conditions created, but then, I assume, you did some changes on your form so your conditions broke. Also in order for those conditions to work properly you have to hide all fields that are included in conditions:And that will work as intended.If you don't mind, I fixed your conditions and all those fields so please check and let us know how it works for you.Thank you! View this thread on browser » Unsubscribe Thread1475077674 
    ...
  • Nik_C
    Replied on September 28, 2016 at 2:03 PM

    I'm glad it is working for you as you wanted. 

    Cheers! :)