View Full Version : [Solved] Combobox submit valueField

20 Aug 2007, 3:54 AM

As part of an Ext basicForm I have a combobox with a simple valueField and displayField - the fields are: 'id' (valueField) and 'name' (displayField).

Whenever the form is submitted, it passes the displayField as the value for the combobox instead of the valueField.

What should I do to get the valueField 'value' from the combobox instead? :)

Thanks in advance for any suggestions

20 Aug 2007, 7:01 AM
You need to use the 'hiddenName' option. Check the docs for more info.

20 Aug 2007, 11:55 PM
Thank you very much, that works :)