View Full Version : When name and hiddenName of ComboBox are same, ie7

22 Apr 2010, 3:07 AM
When name and hiddenName of ComboBox are set and they are same, ie7 cannot render correctly...

22 Apr 2010, 3:12 AM
This is a limitation that is clearly documented in the hiddenName API docs (http://www.extjs.com/deploy/dev/docs/?class=Ext.form.ComboBox&member=hiddenName).

22 Apr 2010, 3:16 AM
but no problem in firefox and ie8? this is bizarre..

in addition, i had to spent time to solve this different behaviour.. so, could it be revised?

22 Apr 2010, 3:24 AM
As Condor said, it's clearly stated in the documentation.

22 Apr 2010, 3:30 AM
This is caused by a getElementById bug in Internet Explorer, so it can't be fixed in Ext.

1. Why would you specify a name and a hiddenName (unless you set submitValue:true, which is very unusual)?
2. You can only set id and hiddenName to the same value if you specify a different hiddenId.

22 Apr 2010, 3:53 AM
when hiddenName not set, the displayField is sent to server on submit. but i need valueField on server side.

22 Apr 2010, 4:18 AM
Set hiddenName and leave name alone. It isn't required.

22 Apr 2010, 11:25 AM
So you specify a hiddenName. But why would you specify a name?