Input Table: size of text box

  • Profile Image
    talktozee
    Asked on May 12, 2017 at 06:34 PM

    Hello! Is there a way to control the size of text boxes in Input Tables?

    Thanks!

  • Profile Image
    Kevin_G
    Answered on May 12, 2017 at 11:16 PM

    Unfortunately, you can only set the entire table size, to customize the fields size you will need to inject some CSS code, here are the codes needed depending on the field type you're using: 

    /*For textboxes and currency boxes*/

    [data-type="control_matrix"] .form-matrix-table .form-textbox{

      width: 10px;

    }

     

    /*For drop down fields*/

    [data-type="control_matrix"] .form-matrix-table .form-dropdown{

      width: 10px;

    }

     

     

    /*For numeric text box*/

    [data-type="control_matrix"] .form-matrix-table .form-number-input{

      width: 10px;

    }

    This guide will help you injecting the code: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    Do not forget to change the width value. 

    If you have any question, let us know.