Forums

Drop down fields don't compress

sandersm 12 Apr, 2015
Hello,
I have a moderately complex form that uses several drop down fields that have several possible choices. The issue is that when I create a drop down field, it doesn't compress on the front when displayed - it shows all possible answers.

Is there some option I need to set of something else I need to do to get the form fields to compress. The form takes up an inordinate amount of space vertically. Advice please.
S.M.
GreyHead 12 Apr, 2015
HI sandersm,

You have size attributes set in some of the drop-downs. These control the number of options displayed. Usually 5 or may 8-10 is enough.

Bob

PS I don't see any multi-select drop-downs in your HTML (they should have a multiple='multiple' attribute set and an array name ending in [].
This topic is locked and no more replies can be posted.