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 have a radio button within a matrix?

    Asked by sonofwatt on September 27, 2012 at 03:05 AM

    I'm asking for a bunch of info.  Some of which is simply yes or no.  Can I put in a two option radio button to clean things up and save space?

  • Profile Image
    JotForm Support

    Answered by abajan on September 27, 2012 at 05:38 AM

    Although it's not possible to do this in the form builder (editor), it may be possible to accomplish if a copy of the form's source were to be embedded into a web page where it could then be edited to suit. However, a simpler solution would be to substitute drop downs for radio buttons:

    As luck would have it, the user would be presented with the same choices you want to have: "Yes" and "No". Plus, since each dropdown would only show a single choice at a time, they would occupy less space than two radio buttons. Also, since there would only be two choices, check boxes would be another viable alternative. Each can either be checked to indicate a "Yes" or left not checked to indicate "No". However, unlike drop down and radio button fields, a check box can only have two states (they're either checked or they aren't) and as such, this alternative would only be practical if all of the matrix's cells must be "answered" (for want of a better term).

    If you need clarification on anything, please let us know.

  • Profile Image

    Answered by sonofwatt on September 27, 2012 at 01:37 PM

    Ah, sorry, I wasn't clear.
    I need most of the matrix fields to be text, but a few to be either radio or drop down.

    To help clarify, here is an image of one of the matrices as it stands now.  For column two, I want a radio or drop down, but the rest should be text fields.




  • Profile Image
    JotForm Support

    Answered by abajan on September 27, 2012 at 01:51 PM

    Oh. In that case the source code route, to which I earlier referred, is the only way to go since matrices can't currently be adjusted in that manner via the form builder. Therefore, the copy of the form's source obtained from the Embed Form Wizard would have to be altered. I can have that code for you either later today or sometime tomorrow if you're okay with using the source code method.

  • Profile Image

    Answered by sonofwatt on September 27, 2012 at 02:10 PM

    Ah ok...  Well for now it's ok.  If I need to make that change in the future, I'll post here again.

    Thank you though!