I am trying to handle 400 bad request in form submit and this is the code I have
var form = Ext.DomHelper.append(document.body, { tag : \'form\',