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

    Is it possible to HIDE a bunch fields and show them until certain question is answered?

    Asked by marconey on October 02, 2013 at 03:37 AM

    This logic seems simpler to me (unless of course I have been behind on logic eh!). Here's the scenario: When the form initially loads there are some basic fields - name, email etc. which have to be shown always as they are not conditional upon something else. But I want some fields to be hidden BY DEFAULT but appear ONLY when an existing question has been answered either yes or no. Now I know that this can be done but one has to setup the rule on that existing field, then hide the field if the existing question is either empty or is equal to or not equal to something, then have the field show up if a certain condition is fulfilled... But is there a way to select a bunch of fields and hide them all and THEN ONLY have them show up when a question is answered in a certain way / a condition is fulfilled? I think this would flow more logically and intuitively no?!!

    Anyone would like to enlighten this mind? :o)

     

    Thanks in advance much!

    Kenneth

    hide fields email name hidden select
  • Profile Image

    Answered by EliezerN on October 02, 2013 at 10:06 AM

    Thanks for contacting us Kenneth.

    Are you talking about this form http://www.jotform.com/32556893734163? If so, we would like to know which are the fields you want to hide and the field or question that will have the condition. In that way we will be able to try to accomplish what you need.

    We'll wait for your reply.

    Thanks for using Jotform.

  • Profile Image

    Answered by marconey on October 03, 2013 at 06:19 AM

    As I stated in my OP, I understand how to setup condition and then the action....

    But to answer your question, yes that is the form. And the fields have already been setup to hide. Click on "Have you had any massage before" So the question is NOT how to set this up.

    Please refer to my post. To add to my original post, what I am asking is if there's a way to hide a field on load WITHOUT going through the conditional logic mechanism (say for example by simply seleting a property of the field to hide the field) but then to show the field by setting up a condition on a different question to show this hidden field? (the latter I understand, needs to be done through the conditional logic mechanism).

    Hope the clarification helps :o)

    Thanks

     

     

     

     


  • Profile Image
    JotForm Support

    Answered by abajan on October 03, 2013 at 06:55 AM

    Hi Kenneth,

    To have a field hidden by default, use a Show condition instead of a Hide one. With that in mind, replace both of the form's conditions with the following single condition:

    The result can be seen in this clone.

    The way our conditional wizard is configured, once a "Show" condition is set on a field, it's hidden by default and only displayed when the specified condition(s) is(are) satisfied. Our product has no other mechanism to show/hide fields.

    Is this what you meant?

  • Profile Image

    Answered by marconey on October 04, 2013 at 01:30 AM

    Now THAT is the answer I was looking for! I must say it's a bit unintuitive. I remember trying that briefly but may be browser / JavaScript may not have refresed or something.... but that should work for now. 

    Just as a suggestion: I think it would be nice to have a visibility property for each of the different field types (along with the other properties such as field width ec.) which could be set to hidden (without having to go through the conditional logic mechanism) and then through the conditional mechanism apply logic similar to what you suggested above. That would be a bit more intuitive. Like anything else this logic has its +s and -s I am sure but just thought I'd say :o)

     

    Thanks for all that you guys do. You are simply amazing. Both JotForm and you guys / gals!

     

    Thanks.

  • Profile Image
    JotForm Support

    Answered by EltonCris on October 04, 2013 at 05:52 AM

    Thanks and glad to hear my colleagues was able to assist you with this.

    Your suggestion is a good but hiding fields thru javascript is much way better than modifying fields visibility thru CSS in the sense that data entered on the field will be cleared once the field is hidden back thru conditions. However, that can be achieved when you take your form source code. How to get your Form Source Code.

    Should you have any other questions or concerns, feel free to let us know here.

    Best Regards!

  • Profile Image

    Answered by Michele   on October 07, 2015 at 11:23 AM

    Is it possible to hide fields unless they answer a specific question yes or no from above.

     

    For Example:

    If I ask the client a specific question and they answer no - then the below fields (for them to enter information in will NOT appear).

    If they answer yes then the fields of information they need to fill out will appear for them to fill out.

     

    Then after they filled out information is there a way to click on a button for them to add another group of information.

     

    Lets see if I can give an example:

    My question: Do you have children? Yes or No

    If they click on No....then they move on to the following questions.

    If they click yes....then other fields will appear where they need to provide information about that child.

     

    after they enter information on one child then I would like another question for them add another child yes or no...if click yes the same fields as above appear to enter information on that child....etc.

     

    Is this possible?

  • Profile Image
    JotForm Support

    Answered by abajan on October 07, 2015 at 01:16 PM

    Hi Michele,

    Since we prefer to deal with each user in their own thread, a solution to your question will be answered shortly in another thread (http://www.jotform.com/answers/678034).


    Thanks

  • Profile Image

    Answered by Kelly  on January 08, 2016 at 07:40 PM

    Hello,

    We are using Google forms to create an intake form for our treatment salon.  I would like to have the technician notes for the treatment to be inputted into the same form completed by the client, but I don't want the client to see the fields that we are completing regarding treatment. What is especially useful in google forms is to have all the data associated with the client (client completed info plus the technician notes) in the excel spreadsheet.   Is this something you can help me problem solve?  I believe I want to be able to hide a series of fields for future use once the client finishes their part on the form, but I'm open to any solution.

    Thank you,

    Kelly

  • Profile Image
    JotForm Support

    Answered by EltonCris on January 09, 2016 at 12:58 AM

    @Kelly  

    I have answered your question here http://www.jotform.com/answers/740341. Kindly check. Thanks!