View Full Version : SUBMIT method of a form not sent null parameters
21 Sep 2012, 12:13 AM
Submitting a form using the SUBMIT method of a form not sent null parameters. If not I select a combobox value, this field does not send by SUBMIT method.
Attached is an example that you can found in ExtJS demos: http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/form/xml-form.html
And also a screenshot where you can see combobox field is not sent at Chrome console.
How I can force form submit sent all fields?
22 Sep 2012, 2:45 PM
Make sure you do not have submitEmptyText set to false.
Also, have a look at:
23 Sep 2012, 11:47 PM
submitEmptyText is used to send emptyText value, in this case "Select a state...".
I have submitEmptyText to true and empty combobox (without emptyText attribute assigned) value is not send as param of POST/PUT submit.
24 Sep 2012, 4:08 AM
Set a default value of '' for your combo to overcome this: value: ''
24 Sep 2012, 6:51 AM
Setter default value is useful if you submit the form without having edited the field, but if user selects a value and then deletes it, the value is not default value.
Moreover, I want to send null to the server, not '', because empty value is different from null.
10 Jan 2013, 12:05 AM
I'am facing the same problem. It works with textfield and other but not combobox
2 Mar 2013, 8:30 AM
:(( i am using ext4.2beta, and i am try all suggestion from this forum but did'tn work
Powered by vBulletin® Version 4.1.5 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.