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

    I want to show a textbox if a checkbox is selected

    Asked by PoughkeepsieFarmProject on March 24, 2015 at 03:28 PM

    Hi there,

    I'd like to have a check box area that combines with text boxes, so the user can add text that matches with a checked box. Is this possible?

    I've included a screencap - in the selected box, I would like users to put in how much they are donating for every donation category they choose. In a perfect world, I would also set up a conditional to hide/show the text box depending on whether the checkbox was checked.

    Please let me know.

    Cheers,
    Jes

    Screenshot
    checkbox check donation text boxes
  • Profile Image

    Answered by raul on March 24, 2015 at 05:00 PM

    Please check the following cloned version of your form: http://form.jotformpro.com/form/50826908923968

    Is this what you're trying to accomplish? If so, feel free to clone the form to your account.

    Thank you.

  • Profile Image

    Answered by raul on March 24, 2015 at 05:02 PM

    I'm sorry, I forgot to share with you this guide: http://www.jotform.com/help/57-Smart-Forms-Using-Conditional-Logic in which you can see how to show/hide fields based on conditions.

  • Profile Image

    Answered by Jesica on March 24, 2015 at 05:29 PM

    It's almost right...the problem is that I also need this form to print out in a single page, so I was hoping to put those text fields to the right of the checkboxes, not underneath. So what I was hoping for was to have multiple text boxes fit alongside the single checkbox list.

    like this:

  • Profile Image
    JotForm Support

    Answered by Kiran on March 24, 2015 at 07:14 PM

    This requirement may need to have separated checkboxes. Please see the demo form below. Hope that works for you.

    http://form.jotformpro.com/form/50827533535962?

    This is done by using separate checkbox option for each donation type and used field positioning to move the number boxes beside the checkbox. Please feel free to clone this JotForm to your account to see how it works.

    Let us know if you need any further assistance. We will be happy to help.

    Thanks.

     

  • Profile Image

    Answered by Jes Clark on March 26, 2015 at 02:22 PM

    Thanks so much, this was very helpful!

    I wasn't able to use the cloned form as my finished form because I've developed other parts of the form, so I have a follow-up question.

    I was able to use field positioning to get the boxes on the right lines, but how did you get the text boxes to line up so prettily?  Mine are more scattered.  I'm obviously fairly new to this, so thanks for your help and your patience.

    Cheers,
    Jes

  • Profile Image
    JotForm Support

    Answered by Kiran on March 26, 2015 at 04:00 PM

    Your query on aligning text fields is moved to a separate thread and shall be addressed there shortly.

    http://www.jotform.com/answers/541495

    Thank you!