Variable Dropdown Size

  • Profile Image
    snaplash
    Asked on February 12, 2016 at 06:09 PM

    If I have a dropdown with options

    ABCDEFGHIJ

    ABCDEF

    ABCD

    ABCDEFGH

    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
    Welvin
    Answered 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
    snaplash
    Answered 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
    Boris
    Answered 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.