Title: Form submit issue Post by: bakoma on August 26, 2014, 09:02:56 PM I suppose the form should submit $('#NI_Cat').combobox('getValue') when multiple=false; and should submit $('#NI_Cat').combobox('getValues') when multiple=true. This is true in 1.3.4 but not in 1.4. Please advise.
<input class="easyui-combobox" id="NI_Cat" name="NI_Cat" data-options=" data:[{ID:'Moving the University Forward',Name:'Moving the University Forward'}, {ID:'Operational Excellence',Name:'Operational Excellence'}, {ID:'Innovation / Creativity',Name:'Innovation / Creativity'}, {ID:'Fiscal Stewardship',Name:'Fiscal Stewardship'}], valueField: 'ID', textField: 'Name', multiple:true, <--------------------------------------- panelWidth: 350, panelHeight: 'auto', prompt:'Select multiple items by clicking' " style="width: 550px;" required="true"> $('#newNominee').submit(); Title: Re: Form submit issue Post by: stworthy on August 27, 2014, 03:12:20 AM If you are using PHP, please try to use the code below instead.
Code: <input class="easyui-combobox" id="NI_Cat" name="NI_Cat[]" data-options="multiple:true,..."> Title: Re: Form submit issue Post by: bakoma on August 27, 2014, 07:16:48 AM Thanks you stworthy. I use pure HTML+WS. I tried to add [] inside name and then to ID for each single case or both. Unfortunately, it won't submit.
|