JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Changing the width of the dropdownAsked 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.
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 for that, is that different to using jotform Iframe?
Also the "please select" field is width is still too narrow in your example
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:
width: 200px !important;
Change the value to your desired width.
Let us know if you need any further assistance.