PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

drop down field size

  1. I can't get the drop down field sizes to be large - when I choose large as the field size the width is still really small so the options don't fit in the box.

    Any ideas why this should happen?

    Posted 12 years ago on Saturday February 11, 2012 | Permalink
  2. Got a link to your form so I can check this out with you?

    Posted 12 years ago on Saturday February 11, 2012 | Permalink
  3. Surething http://mepa.stipa.org.uk/candidates-pages/questionnaire-v1-1/

    Posted 12 years ago on Saturday February 11, 2012 | Permalink
  4. The enhanced interface drop down uses javascript to dynamically generate the sizing. When you preview you form from the formbuilder, does it display wider? If so, there could be a theme or plugin conflict that is causing it to show small in width.

    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    Posted 12 years ago on Saturday February 11, 2012 | Permalink
  5. When I'm actually editing the form the boxes are the correct (large) width.
    When I click on the preview button however the boxes revert to the (too) small size.

    Posted 12 years ago on Saturday February 11, 2012 | Permalink
  6. Can you export the form and send the xml file to me at rob@rocketgenius.com

    Posted 12 years ago on Saturday February 11, 2012 | Permalink
  7. Have sent the form and another where the uk centre drop downs are the correct size but the Canadian, USA and Other drop downs are too small.
    Thanks!

    Posted 12 years ago on Saturday February 11, 2012 | Permalink
  8. Richard Vav
    Administrator

    Hi Rob, I have just found one of my forms that is also experiencing this issue.

    It doesn't seem to be a plugin or theme conflict as it is also occurring in the form preview rather it seems to be a conflict with the gravity forms conditional logic as it is only occurring when conditional logic is also enabled on the drop down. Other drop downs on the page without conditional logic that also have the enhanced ui active appear normal.

    If it will help you locate the problem I can export the form and email it to you.

    Checking out the github issues page for chosen, it seems other people are experiencing width issues with chosen drop downs. https://github.com/harvesthq/chosen/issues/search?q=width

    Posted 12 years ago on Saturday February 11, 2012 | Permalink
  9. Interesting, yeah it is only if used on the conditional logic. I'll bring it up. For now, Matt, you can use the below to get you rolling. I targeted the specific drop down on your Questionnaire v1.1 form instead of a doing a global target. If you'd like to use this method on other conditional logic hidden enhanced drop-downs, just make sure to ID the correct input either by viewing the source, using Chrome Dev Tools or Firebug for Firefox.

    [css]
    #input_3_6_chzn {
    width: 98% !important;
    }
    #input_3_6_chzn .chzn-drop {
    width: 99.6% !important;
    }
    #input_3_6_chzn .chzn-search input[type="text"] {
    width: 94% !important;
    }
    Posted 12 years ago on Saturday February 11, 2012 | Permalink
  10. Guys, looks like the the current release beta fixes this if you want to give it a whirl:

    http://www.gravityhelp.com/gravity-forms-v1-6-3-beta-2-released/

    Posted 12 years ago on Saturday February 11, 2012 | Permalink
  11. Thanks Rob, will give it a whirl!

    Posted 12 years ago on Sunday February 12, 2012 | Permalink
  12. Richard Vav
    Administrator

    Thanks for the pointer Rob, your right 1.6.3b2 fixes that problem.

    It looks like chosen is now up to version 0.9.7 and has had near a hundred commits since v0.9.3 was released, while 1.6.3 is still in beta you might consider dropping in the latest version. I downloaded it last night and have been testing it with the beta and so far I haven't found any problems.

    Posted 12 years ago on Sunday February 12, 2012 | Permalink
  13. Yep 1.6.3b2 works for me too!
    In fact all the layout looks clearer.
    Good job!

    Posted 12 years ago on Sunday February 12, 2012 | Permalink
  14. Right on - glad that worked out.

    Posted 12 years ago on Sunday February 12, 2012 | Permalink

This topic has been resolved and has been closed to new replies.