View Full Version : Combobox "hiddenName" does not appear in POST variable.

26 Sep 2013, 8:04 AM
I set combo.hiddenName (http://docs.sencha.com/extjs/4.1.3/#!/api/Ext.form.field.ComboBox-cfg-hiddenName) = "name_value" and then submit form using "Post" method.
But server side, when i check my $POST variable, It does not have any variable called "name_value".

What is the use of hiddenName then??

Any suggestion??


29 Sep 2013, 9:57 PM
Doc says 'regular form submit' - that is POST handled by <form> element itself.

30 Sep 2013, 12:28 AM
Yes, and I submit form in following way, and It is regular way to submit.
where form is

form = win.down('form').getForm();

And submission as below.

method: "POST",
url: "formSubmit.json",
clientValidation: false,
success: this.submitSuccess,
failure: this.failureHandler,
scope: this,
waitTitle: "Please wait.....",
waitMsg: "Submission in process, please wait."

Even thou, I am not getting combobox value.

30 Sep 2013, 4:30 AM
A <form> element is not a Form component.

30 Sep 2013, 4:38 AM
Then how to declare <form> element and submit form regularly.
I would be great, if you can provide some working example.

30 Sep 2013, 4:42 AM
Does ordinary 'name' config work for a combo?

30 Sep 2013, 4:57 AM
I am migrating from 3.4 to 4.1, And my whole system is ready working on hidden_name property. So I prefer to use hidden_name only, which will save my time and make it quicker. One I do release, I can put this issue on suggestion. But not now.

30 Sep 2013, 10:06 AM
What for do you migrate? I'm afraid you won't get anything useful from Ext4. Not to mention it's tenfold (or more) slowness compared to Ext3.