Dear All
a few day i was search "HOW TO SUBMIT FORM SEND EMPTY/NULL PARAMETER" and i am try all suggestion from forum answer about this, but did'tn work.
i found this url http://www.sencha.com/forum/showthre...ull-parameters but did'tn work to, can any body to help me?
this is my code :
Code:
form.submit({
method:'POST',
submitEmptyText: true,
waitTitle:'Connecting',
waitMsg:'Please wait for sending data ...',
waitMsgTarget:true,
success: function(form, action) {
form.reset();
Ext.getCmp('dataGrid').getStore().load();
},
failure: function(form, action) {
switch (action.failureType) {
case Ext.form.action.Action.CLIENT_INVALID:
Ext.Msg.alert('Failure', 'Form fields may not be submitted with invalid values');
break;
case Ext.form.action.Action.SERVER_INVALID:
Ext.Msg.alert('Failure', action.result.msg);
break;
default:
switch(action.response.status)
{
case 401:
window.document.location.href=ifoBaseURL;
break;
case 200:
Ext.Msg.alert('Failure', obj.msg);
break;
default:
Ext.Msg.alert(action.response.statusText, action.response.responseText);
}
}
}
});