European Commission - Traineeships Office:: I have already registered, but I still did not receive the validation e-mail. Once the form submitted, it is no longer possible to change it. http://ec.europa.eu/stages/information/answers_en.htmHOME | Hi all,
I've created one form in ExtJs to submit data but the form is not getting submitted some how. An undefined error occurs.
This is my code. Can anyone help me out?
Ext.onReady(function(){
Ext.QuickTips.init();
var formPanel ; //regi form
var pWin;
var doneFunction = function(form,action){
Ext.MessageBox.alert("Save Status"+action.response.responseText);
}
var errormsg=function(form, action){
Ext.MessageBox.alert('Err:n'+action.response.resp onseText);
}
var saveButtonHandler = function(){
IE7 form not prompted for remember password when submitted through :: IE7 form not prompted for remember password when submitted through javascript . GWT and IE7 — getting the browser to remember passwords http://stackoverflow.com/questions/158438/ie7-form-not-prompted-for-remember-password-when-submitted-through-javascriptHOME | Robin's Sharepoint Blog: Getting InfoPath attachments from a :: Nov 30, 2007 Getting InfoPath attachments from a submitted form. This week I was not only busy with migrating old portals and solving problems but I was http://glorix.blogspot.com/2007/11/getting-infopath-attachments-from.htmlHOME |
if (formPanel.form.isValid()) {
alert('formPanel.form:'+formPanel.form.action);
//this was the point when i was not able to tackle the error. the failure function is called ,which shows an undefined error
formPanel.form.submit({url:'emp_Form.aspx',success :doneFunction,failure:errormsg});
}
else{
Ext.MessageBox.alert('Errors', 'Please fix the errors noted.'); phpBB • View topic - The submitted form was invalid. Try :: 10 posts - Last post: Nov 3, 2007Re: The submitted form was invalid. Try submitting again. . Still not working . Getting this message: General Error http://www.phpbb.com/community/viewtopic.php?f=46&t=585738HOME | Bug Report - Input post object not present when form is javascript :: The input->post() object is not loaded when a form is submitted with Javascript and there’s no submit button in the form. If I check the $_POST variable the http://codeigniter.com/bug_tracker/bug/3465/HOME |
}
}
// pre-define fields in the form
formPanel= new Ext.form.FormPanel({
labelWidth:70,
frame:true,
bodyStyle:'padding:5px 5px 5px 5px',
width:280,
height:180,
method:'post',
action:'http://localhost/extjs/emp_Form.aspx',
items : [{
xtype : 'textfield',
fieldLabel : 'EmployeeID',
name : 'empID',
id:'empID',
width:175,
allowBlank:false
},{
xtype : 'textfield',
fieldLabel : 'Name',
name : 'name',
id:'name',
width:175
},{
xtype : 'textfield',
fieldLabel : 'City',
name : 'city',
id:'city',
width:175
},{
xtype : 'textfield',
fieldLabel : 'Salary',
name : 'salary',
id:'salary',
width:175
}]
});
// define window and show it in desktop
if (!pWin){
pWin = new Ext.Window({
title: 'Emp Form',
height:200,
width: 300,
minWidth: 100,
minHeight: 150,
layout: 'fit',
closable: true,
bodyStyle:'padding:5px 5px 0',
buttonAlign:'center',
items: formPanel,
buttons:[{text:'Save',formBind: true,value:'Save',handler: saveButtonHandler}]
});
}
pWin.show();
/*formPanel.on('Submit', function(form, action) {
Ext.MessageBox.alert('action.failureType:'+action. response.responseText);
});*/
});
"undefined error"????
Use ext-all-debug.js
Use Firefox with Firebug.
Find out exactly what and where the error is.
Challenging Books For A 14 Year Old?
First guitar : acoustic or electric?
|