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

    How can I require in the check box section to just have people check one box and not multiple boxes out of the options?

    Asked by Myles White on October 08, 2012 at 08:00 PM

    Hello, I'm curious if there is a way to mandate for someone to just 'check' just one box out of the options in a given checkbox field...

     

    For example

     

    Yes

    No

     

    Just to be able to select one or the other, not both... Hopefully the question is clear.

     

    Thank you

    Page URL:
    http://jotformpro.com/form/22796604211956

    check section checkbox checkbox field select
  • Profile Image
    JotForm Support

    Answered by jonathan on October 08, 2012 at 09:11 PM

    Hi,

    You can actually achieve this using the Radio button instead (also found in form tools)

     

    Checkboxes allows multiple selection, while Radio buttons does it for single option only.

    Hope this help. Please inform us if you have further inquiry.

    Thanks.

  • Profile Image

    Answered by gadgetguysit on July 30, 2013 at 07:22 AM

    Is there a way to do this with a check box ?

     

    Just if your prefer the look of a check box to a radio button for example.

  • Profile Image
    JotForm Support

    Answered by abajan on July 30, 2013 at 08:16 AM

    @gadgetguysit

    This is possible using the appearance property. Just inject the following CSS:

    input[type="radio"] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    -ms-appearance: checkbox;
    -o-appearance: checkbox;
    }

    Be advised however, that the appearance property isn't supported in all browsers. Please see this.

    Cheers

  • Profile Image
    JotForm Support

    Answered by abajan on July 30, 2013 at 08:20 AM

    Actually, the following would probably be better:

    input[type="radio"] {
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    -ms-appearance: checkbox;
    -o-appearance: checkbox;
    appearance: checkbox;
    }

  • Profile Image

    Answered by gadgetguysit on July 30, 2013 at 11:53 AM

    That's great, may just use radio buttons if they are going to be more relaible. Thank you very much for your help.