EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 13, 2025, 04:36:59 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Form submit issue
Pages: [
1
]
« previous
next »
Print
Author
Topic: Form submit issue (Read 8399 times)
bakoma
Newbie
Posts: 13
Form submit issue
«
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();
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Form submit issue
«
Reply #1 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,...">
Logged
bakoma
Newbie
Posts: 13
Re: Form submit issue
«
Reply #2 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.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...