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

    need field width to be the same width on all fields in my form

    Asked by ezchoicefinancial on September 25, 2016 at 06:39 AM

    https://form.jotform.com/62670676949978

     

    Hi there ,

    i need help making the "Phone Number" field , "Zipcode" and "How did you hear about us" fields to be the same width as the  Name and E-mail fields both in Desktop and Mobile

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

    same width same all all fields
  • Profile Image
    JotForm Support

    Answered by BDAVID on September 25, 2016 at 08:44 AM

    Please inject the following CSS code: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    .form-textbox{

        width: 239px !important;

    }

    #id_6{

        margin-left: -4px !important;

    }

    .form-dropdown{

        width: 246px !important;

    }

    Result:

     

    In order to make the fields same width in mobile views, please add the mobile responsive widget to your form:

    And inject the following CSS code in your form:

    @media only screen and (max-width: 480px) {

    .form-sub-label-container,.form-input-wide{

    width: 100% !important;

    }

    #id_6{

        margin-left: 0px !important;

    }

    }

     

     

    Let us know if you need more help.