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

    Conditions Request: I want to set up a condition where there is one radio button question that will hide multiple other text/question fields?

    Asked by sscommunitychurch on January 10, 2011 at 04:24 PM

    I want to set up a condition where there is one radio button question that will hide multiple other text/question fields if "no" is selected and keep them visible if "yes" is selected. It seems the only way to do this is to create a seperate condition for each item I want to hide. Am I missing something? Certainly there is a way to do this.

  • Profile Image
    JotForm Founder

    Answered by aytekin on January 11, 2011 at 01:09 AM

    That's certainly possible. It took me about 2 minutes to create such form:

    https://www.jotform.com/form/10041620202

     

    Here is the conditions I used:

  • Profile Image

    Answered by sscommunitychurch on January 11, 2011 at 08:47 AM

    That is the way I am doing it currently.

    However I have one condition that should hide/show 5 or 6 questions, and I have that situation potentially 4 times in my document. That is a lot of conditions. I would think it would be possible to have ONE condition that hides/shows multiple fields. I can have multiple fields in a condition CONTROLLING one field. But not the other way.

    For example, I am working on a production request form. In that form if the person, via a radio button field, says they are selling tickets/charging admission then I need to ask a series of questions about price, quantity, sales dates, etc. If they aren't selling tickets, I want those fields to all hide. I just wish I could do that in one condition.

  • Profile Image
    JotForm Founder

    Answered by aytekin on January 11, 2011 at 11:05 AM

    I see what you mean. It is currently not possible to setup one condition for a group of questions. You have to do it one at a time.

  • Profile Image
    JotForm Support

    Answered by abajan on January 18, 2011 at 01:53 PM

    My photo submission form woorks quite well. However, I would like to add an extra field that requires the use of conditional branching. Aytekin, your example above leads me to believe that the functionality I require for the form should be possible but I'm not sure.

    Here's a screenshot of the form in it's present state:

    Photo Submission Form

    As you can see, there is an upload field. However, I would like to offer users a choice of either uploading a photo from their computer or posting a URL to one that's already on the Internet. I want it set up in such a way that only one or the other field is shown according to the choice the user makes. By default, the form should load with neither of the choices selected. However, because of the form's purpose (photo submission) one of the choices would have to be selected (in other words, it would be a required section) for the form to be successfully submitted.

    The screen shot below shows the various elements that I would like to be included in that section of the form. (Only the radio buttons and their labels should be displayed when the form initially loads.)

    Conditional Branching

    Let's look at a scenario to illustrate how I would like this section of the form to work:

    A user wants to upload a photo and clicks the first radio button. The upload field labeled Photo (jpg, jpeg, png) is revealed. But then she has a change of heart and decides to send a link to a photo that's already online instead of uploading one from her computer. When she clicks the second radio button, the upload field vanishes and is replaced with the text box labeled Enter the photo's URL. However, she has another change of heart and decides not to send any photos at all! So she just enters her name, email address, caption (for a non submitted photo - I know, that's ridiculous but since this is one of the required fields of the form, she fills it out), enters the characters in the CAPTCHA and attempts to submit the form. When she clicks Submit, she gets a notice stating There are incomplete required fields. Please complete them. at the bottom of the form and a note immediately under the radio buttons stating This field is required. So, the user either attaches a photo or enters a URL to an online photo, clicks Submit and Presto! the form is successfully sent.

    How should I use conditional branching to accomplish such functionality?

    (A detailed video tutorial on how to setup conditional branching might be useful. Actually, I find video tutorials in general to be quite helpful.)

    Sorry to be so verbose!

    Edit (several hours later) I figured out how to do this and was able to get it to work flawlessly. It's actually easier than it looks.

  • Profile Image
    JotForm Founder

    Answered by aytekin on January 19, 2011 at 07:51 AM

    Edit (several hours later) I figured out how to do this and was able to get it to work flawlessly. It's actually easier than it looks.

    Any advice for others that might have the same problem?

  • Profile Image
    JotForm Support

    Answered by abajan on January 19, 2011 at 12:08 PM

    @aytekin Sure, no problem. (I was actually planning to do this earlier but you know how things go.)

    Anyway, here's what I did.

    First of all, I edited the labels of the fields as shown below (note that all three fields in question are marked as required):

    Then, on the toolbar I went to Conditions > Show / Hide a form field > Next.

    In this section of the Conditions Wizard, there are two (2) rows of drop down boxes (also called single selection menus in some quarters).

    Let's deal with the first row:

    I selected The photo is located

    Then, in the second control I selected Equals to

    A third control then appeared with the correct choice automatically selected: on my computer, so there was no need to interfere with it

    Then I went to the second row. Here again, there was no need to do anything with the first drop down box because the correct choice: Show was already selected.

    In the last box I selected Upload a photo and saved the changes.

    The following window then appeared summarizing what I did

    At this point, the job was half done. I then clicked Add New Condition and repeated the process with the following changes (the illustrations that follow are self-explanatory)

    I then closed the wizard and checked to insure the changes were autosaved. (If in your case the changes are not autosaved, just click the Save icon.)

    I then previewed the form to see if everything was working as expected and when I put it live on the website I performed several tests and it passed every one! :)

  • Profile Image

    Answered by TreyOler on January 19, 2011 at 04:24 PM

    I have the same need as the first user posted.  I think this would be a crucial update.  THere has to be lots of people out there that need multiple fields to be hidden or shown based on one condition --wihtout having to enter them each in individually.

  • Profile Image

    Answered by CMC on May 16, 2011 at 07:34 AM

    i have also the same problem as the first user.

    I can not hide multiple required fields.

    is it any solution?

  • Profile Image
    JotForm Support

    Answered by NeilVicente on May 18, 2011 at 07:50 AM

    Hi,

    I'm not entirely sure but the feature that enables to hide/show multiple fields using one condition is currently in the user request list.  We cannot commit to a lead time however, as we do not have enough manpower to grant all our users' requests (we receive a lot everyday).  

    This sounds like a big update however, and as we know, big updates are announced through our blog. That or we will just notify you of any updates via this thread.

    For now, the workaround is to add a condition for each field that you want to hide. It's a daunting task, I understand, but it's a foolproof solution.


    Neil

  • Profile Image

    Answered by Divation on May 18, 2011 at 12:09 PM

    This is why I am converting over to other form builders.  While Jotform claims to be one of the first form builders, and their user interface is easy to use, they have definitely been lagging behind on technological advancements.  The amount of third party application integrations that they offer is severly lacking.  Also, it takes them forever to implement important, fundamental updates that their users severly need.  Their small homegrown crew can't seem to keep up any more, and I think it is going to kill them if they don't kick it in gear and look to expand rapidly rather than maintain.  I mean, up until recently, one of the co-founders used to be the primary person to answer basic forum questions.  His time as a co-founder and programmer would be much better suited to bringing out new updates more quickly. 

    While Jotform may have been top dog, they are quickly becoming bottom dog by being complacant with the amount of users they have brought on.  Their homegrown technique is not going to cut it as other form builders are quickly passing them by. 

    The one thing Jotform does have over competitors is better pricing and no JotForm branding on the Forms.  However, the form builder field has become more competitve, andprices are dropping at other form builders.  And their third party partners and API's make paying a premium worth it. 

    Watch out Jotform.  If people are begging, litteraly begging, for new features such as this one in this post, that should be a sign that you had better step up your game.  Yes, it may be a big update, but man, step up to the plate and play ball, because otherwise, your customers will go somewhere else.  

  • Profile Image
    JotForm Support

    Answered by NeilVicente on May 20, 2011 at 12:12 AM

    @Divation

    Thank you for your input. We will definitely keep those in mind.


    Neil

  • Profile Image

    Answered by koiautoparts on September 01, 2011 at 12:24 PM

    Any update on this?

  • Profile Image
    JotForm Support

    Answered by NeilVicente on September 01, 2011 at 12:32 PM

    Hi,

    Sorry but is not available yet.


    Neil

  • Profile Image

    Answered by aylin77 on September 19, 2011 at 05:58 PM

    I was hoping i could make a condition for a bunch of questions with

    1/ a page break going to my next section if an option is selected ("anything else ?" : yes/NO") 2/ copy/paste the bunch of questions + the option question (yes/no) in the html code, but it's quiet difficult to choose the next section.

    Indeed, jotform doesn't show section's title (as the header after a page break for instance) in the condition tool, but the list of numbered pages : Page 1, Page 2, Page 3,... I have 18 of them, so it forgot this !

    I'll try a copy/paste of the several conditions as Aytekin showed !

  • Profile Image
    JotForm Founder

    Answered by aytekin on September 20, 2011 at 07:16 AM

    aylin77: can you post your question on separate new threads? This thread has become too large to be useful. Thanks.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on November 05, 2012 at 04:33 PM

    Hiding multiple fields based on a single conditional response can now be made possible by including those fields in a form collapse section.

    Here's a guide that has the information you need:

    http://www.jotform.me/help/196-How-to-Hide-or-Show-Multiple-Fields-at-Once-Using-a-Single-Conditional-Entry