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

    Variable Dropdown Size

    Asked by snaplash on February 12, 2016 at 06:09 PM

    If I have a dropdown with options





    I'd like each menu item to have an auto width. i.e. the background to expand to the width of the menu item rather than having an overall fixed width for all the Options.


    Is this possible?




  • Profile Image
    JotForm Support

    Answered by Welvin on February 13, 2016 at 08:49 AM

    I don't think it's possible. I tried looking for a workaround but to no avail. 

  • Profile Image

    Answered by snaplash on February 13, 2016 at 09:17 AM

    Thank you for trying - I have a solution with a few lines of JS, is there any way to incorporate this into the site without selfhosting?

  • Profile Image

    Answered by Boris on February 13, 2016 at 01:25 PM

    Unfortunately not, we do not allow any custom scripting to be implemented on forms that we host on our own servers.

    The only way to have any custom code added to your form would be to download the source code of the form and host it on your own server, which seems to be something you would like to avoid.

    If we can help you with anything else, please let us know.