-
30 Jan 2011 2:57 PM #1
FormPanel JS error in IE
FormPanel JS error in IE
Hello - I am having an issue with a form that I am submitting. This is only an issue in IE (works in Firefox). The request does submit, but it throws a JS error. Here is the code:
Any insight on what is causing the JS error?Code:var myForm = new Ext.form.FormPanel({ renderTo:'patient-form', id:'patientForm', width:650, title:'Request Form', url:'mypage.php', items:[{ xtype:'textfield', fieldLabel:'My Name', name:'myname' }], buttons: [{ text: 'Submit Request', handler: function() { // This is what seems to be causing the problem.... patientForm.getForm().submit({ success: function(form, action) { Ext.MessageBox.alert('Status', 'Request Successful!'); }, failure: function(resp,opt) { Ext.MessageBox.alert('Status', 'There was an error'); } }); } }] });
Thanks,
-Jim
-
1 Feb 2011 5:11 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,167
- Vote Rating
- 29
Jim, patientForm !== myForm.

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
Similar Threads
-
Tab in formpanel error htmleditor
By nukboon in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 13 Sep 2009, 11:50 PM -
Error: formpanel , tabpanel and formpanel again
By newname2008 in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 29 Jun 2009, 12:16 AM -
Help me! please -- I have a error with the Ext.FormPanel
By rburgos in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 13 Apr 2009, 3:34 PM -
FormPanel Throws Error
By newb in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 6 Mar 2009, 11:43 PM -
Windows + FormPanel Error
By webdings in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 1 Mar 2008, 6:35 AM


Reply With Quote