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

    Within a table how do I add a column of text box's and one column with radio buttons?

    Asked by steelcase on January 25, 2012 at 04:50 PM

    I have 6 columns.  Is it possible to change the last column (reject column in screenshot) in form to yes/no radio buttons?  all other fields are freeform text fields.

    I have tried the following CSS input that I found in the forum; as I needed to change field width, but I'm unsure how to change the last piece of code to relate to radio buttons.

     

    ·         .form-matrix-values {
    padding-left: 8px;
    padding-right: 8px;
    }

    .form-matrix-row-headers +
    .form-matrix-values .form-textbox {
    width: 45px;
    }

    .form-matrix-row-headers +
    .form-matrix-values +
    .form-matrix-values .form-textbox {
    width: 45px;
    }

    .form-matrix-row-headers +
    .form-matrix-values +
    .form-matrix-values +
    .form-matrix-values .form-textbox {
    width: 45px;
    }

    .form-matrix-row-headers +
    .form-matrix-values +
    .form-matrix-values +
    .form-matrix-values +
    .form-matrix-values .form-textbox {
    width: 45px;
    }

    .form-matrix-row-headers +
    .form-matrix-values +
    .form-matrix-values +
    .form-matrix-values +
    .form-matrix-values +

    .form-matrix-values .form-textbox {
    width: 120px;
    }

     

    .form-matrix-row-headers +
    .form-matrix-values +
    .form-matrix-values +
    .form-matrix-values +
    .form-matrix-values +
    .form-matrix-values +

    .form-matrix-values .form-textbox {
    width: 120px;
    }

    .form-matrix-row-headers +
    .form-matrix-values +
    .form-matrix-values +
    .form-matrix-values +
    .form-matrix-values +
    .form-matrix-values +
    .form-matrix-values +

    .form-matrix-values .form-radio
    width: 20px;
    }

     

    Page URL:
    http://www.jotform.com/form/20221436686

    Screenshot
  • Profile Image
    JotForm Support

    Answered by NeilVicente on January 25, 2012 at 07:24 PM

    Unfortunately, it is not possible to have different types of input fields in a matrix table. CSS can only define the styling for an element, not change its type.

    My suggestion would be to rename the last column to "Reject (Y/N)" or "Reject (Yes/No)". This way, form users will uniformly enter the correct information needed in the last column.