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

    Changing the width of the dropdown

    Asked by beatsahead on November 05, 2015 at 05:43 AM

    I am trying to change the width of the first drop down field. I have used properties, designer and directly changed the source code but the box stays too small with the words wrapped inside.

    The drop down calendars have a very strange format, they look great in preview but weird on my site.

    Any help appreciated.

    Page URL:
    http://beatsahead.com/

    field width calendar popup
  • Profile Image
    JotForm Support

    Answered by Welvin on November 05, 2015 at 08:04 AM

    I get your form source codes and saved it as a standalone HTML file. The form worked great. Here's the link: https://shots.jotform.com/welvin/html/form_3.html. This leads be to believe that your website styles override the form styles.

    To fix the problem, I would suggest doing the same method. Get the source codes, save it as HTML file, upload the file to your server and use it as an iframe in the page. I used this website to generate an iframe, http://7thspace.com/webmaster_tools/iframe_generator.html.

    Thanks

  • Profile Image

    Answered by beatsahead on November 05, 2015 at 10:17 AM

    Thanks for that, is that different to using jotform Iframe?

    Also the "please select" field is width is still too narrow in your example

  • Profile Image
    JotForm Support

    Answered by Welvin on November 05, 2015 at 11:50 AM

    Yes, since you will need to use your HTML file URL which contains the form source codes in the iframe generator. But you can also just embed your form using our iframe method: https://www.jotform.com/help/148-Getting-the-Form-iFrame-Code

    If you want to customize the form outside Jotform, the source codes method is the ideal. If not, I would recommend using our embed options such as the iframe so this way, you don't need to embed it again and again after doing some changes in the form builder.

    Well, the width of the dropdown can be changed in the form builder/designer. 

    Or, you can simply inject the following custom CSS codes in the CSS tab in the designer:

    #input_80 {

    width: 200px !important;

    }

    Change the value to your desired width.

    Let us know if you need any further assistance.

    Thanks