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

  • Profile Image
    steelcase
    Asked 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;
    }

     

  • Profile Image
    NeilVicente
    Answered 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.