PDA

View Full Version : combobox manual input can't got post value



satan39
24 Apr 2007, 8:01 PM
I'm doing with a combobox, I input a value that not in the list, when I post the combox to server, I can't get the value of it, but if I select a value of the list, then I can get the value from server. how can I configure it? The combobox is defined as following:

new Ext.form.ComboBox({
store: ds,
fieldLabel: 'Hostname',
displayField:'KeyWords',
hiddenName:'HostName',
loadingText: 'Searching...',
queryDelay:delaytime,
width: 140,
minChars:1,
hideTrigger:true,
tpl: resultTpl,
typeAhead: true,
selectOnFocus:true
}),


Thanks..

satan39
24 Apr 2007, 11:44 PM
solved. I've changed hiddenName to name, and it works OK