javascript - Issue with ExtJs 4 form submit -
I'm new to extAge and java script. I have a simple form with 3 text fields, but if I'm presenting I want to go to the next page (results page). When I click the submit button, I see 1 warning, but I did not get the alert 2 and 3. I think the feedback is coming back in the fireball, but the result page is not loading. What am I doing wrong here, how do I load the next page? Any help would be appreciated.
Ext.require (['Ext.form. *']); Ext.onReady (function () {var formPanel = Ext.create ('Ext.form.Panel', {frame: true, title: 'new tabo', width: 340, bodypadding: 5, url: 'result.html' , AZX: Submit: Incorrect, field default: {Label Alliance: 'left', label Wythth: 90, anchor: '100%'}, item: [{xtype: 'textfield', name: 'id22', field label 'Id22', value: ''}, {Xtype: 'textfield', name: 'summary', field label: 'summary', value: ''}, {xtype: 'textareafield', name: 'description' Field label: 'description', value: ''}], // reset and submit buttons button: [{text: 'submit', formBind: true, // only enabled after form is enabled Has been disabled: True handler: function () {var form = this.up ('form') GetForm (); Warning ("1"); form.submit ({// clientValidation: true, url: 'result Failure (form, action) {warning ("3")}}}}}}}}}}}; formPanel (.html), success: function (form, action) {warning ("2"); .render ('Form-Tudo'); });
I'm not sure where you got the 'ajaxSub MIT' from the config option, but according to the docs option You need to
Comments
Post a Comment