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 to change width value for fields in Configurable List?

    Asked by tdirofftrenton on February 17, 2017 at 11:24 AM

    Hi

    I am really sorry to bother you but I can not solve this problem even after reading all of you wonderful FAQ's (nice job)

     

    I am using a configurable list and would like to change the field width of one field (for now) and for the life of me I can't get the CSS to do anything. 

    My form is here

    https://form.jotform.com/70474007335148

    and I would like to change the description field please

    Page URL:
    https://form.jotform.com/70474007335148

  • Profile Image
    JotForm Support

    Answered by Kevin_G on February 17, 2017 at 01:18 PM

    You could change the fields width by injecting a code similar to this one: 

    /* For input fields */

    .col1 input{

        width: 100px !important; 

    }

    /* For select boxes or drop downs */

    .col3 select{

        width: 70px !important;

    }

    You may also get the field type by right clicking on it and clicking on inspect option:

    Now, if you need to affect an specific field then you need to state where it is placed in, you will do it with the class ".col", example: ".col1", ".col2" and so on. 

    This code needs to be injected in the widget:

    Also, may be that some fields at the right side of the widget look cut off, you would need to increase the widget's width value as well and you could do it with this code: 

    iframe[src*="configurableList"]{

        width: 660px !important;

    }

    This needs to be injected to the form and not to the widget. 

    Hope this helps.