I have a Pixel & Tonic multi-select field with 50-60 rows in it. The users obviously need to be able to easily select more than one item. By default, the P&T field shows about 4 items at a time, which is making this enormously difficult to use - I'm half tempted to switch to categories. I don't see anywhere where I can set the height of the multi-select field when setting up the custom field.
Looking at the source, I should be able to target it with CSS/JS (#sub_hold_field_128 select) and set its height:
<div id="sub_hold_field_128" > <fieldset class="holder"> <input type="hidden" name="field_id_128" value="n" /> <select name="field_id_128" multiple="multiple"> <option value="al">Alabama</option> <option value="ak" selected="selected">Alaska</option> <option value="az" selected="selected">Arizona</option> <option value="ar">Arkansas</option> ... etc ... </select> </fieldset>
What is the easiest way to set this? Do I need to tie into a hook like cp_css_end?