-
4 Feb 2008 6:13 AM #11
it is very strange...
i have try to WRITE the formpanel for 2 times.. and i see 2 formlogin and work.. but if i write only one formlogin don't see anything.. i think that my problem is a syntax problem...
-
4 Feb 2008 6:26 AM #12
i have try to insert 2 formlogin only for test and work but when i delete 1 form don't work,, i don't know why!!! i think that i have a syntax problem...
-
3 Apr 2008 5:49 AM #13
save a extjs form in data base with php.
save a extjs form in data base with php.
Hi,
I have the same problem (like italoc) with my form. I read the previous posts and i tried the different solutions. But no satisfaction for me.
Exemple: when the file indicated in url existe, nothing is done
But when it doesn't exist, i receive this alet message:Code:url:'traitement.php',
What i want is:Code:failure: function(form, action) { alert(action.failureType); }
When you clic on 'Valider', informations in 'subject', 'to' and 'msg' should go in a table whitch is in a MySql data base. I want to use the method 'POST'.
Someone can give me a correct exemple?
My form code (.js file) is:
[CODE]
Ext.onReady(function() {
var form = new Ext.form.FormPanel({
baseCls: 'x-plain',
labelWidth: 55,
url:'save-form.php',
defaultType: 'textfield',
id:'formule',
items: [{
fieldLabel: 'Envoyer-----------------------------------
On ne finit jamais d'aprendre!


Reply With Quote