Welcome Guest, Not a member yet? Register   Sign In
form_dropdown allowing to select only one item
#1

[eluser]dinisptc[/eluser]
form_dropdown allowing to select only one item


Code:
<?php                                
              
                $js = 'id="contractorCompany"';
              
                echo form_dropdown('companyUID', $companies, set_value('companyUID', $companies),$js);
                                                
                ?>

we have to issues with the form dropdown

one : its showing opened like a list view
two: allows to select multiple items , but only one its selected maybe the last one

how to allow the selection of only one item
how to show the dropdown closed like a combo_box


thanks


Messages In This Thread
form_dropdown allowing to select only one item - by El Forum - 07-11-2013, 06:40 AM
form_dropdown allowing to select only one item - by El Forum - 07-11-2013, 06:50 AM
form_dropdown allowing to select only one item - by El Forum - 07-11-2013, 06:56 AM
form_dropdown allowing to select only one item - by El Forum - 07-11-2013, 07:18 AM
form_dropdown allowing to select only one item - by El Forum - 07-11-2013, 07:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB