ppbb123 Posted July 18, 2013 Report Share Posted July 18, 2013 I have a submission form. The width of one dropdown field is too wide. How to fix the width of that? Thanks. By the way how to fix the width of all dropdowns? Quote Link to comment Share on other sites More sharing options...
MayMusic Posted July 18, 2013 Report Share Posted July 18, 2013 You can Edit the Style, enable Advanded options in the first wizard screen, go to settings screen, Forms/Details>>Fields>>Dropdown/ListboxGo to CSS tab and add Width:300px;To the .cbFormSelect classYou can define a fixed value for dropdowns in the style but it applies to all the dropdown fields in the form so it does not work in your case.Dropdowns expand according to the length of each option so if you have long texts for each option, it is not good to use dropdown.Try the code below to set a fixed width for the dropdown, I hope that helps. <script> document.getElementsByName("InsertRecordFIELDNAME")[0].style.width = "300px"; </script> Replace FIELDNAME with the actual dropdown field name. NiceDuck 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.