Ciao a tutti ,
mi sto avvicinando al framework ext,
ho creato un form con tre campi (nome,cognome, data) e li invio a una pagina asp.
Come faccio a recuperare i valori dei campi inviati per ripopolare lo stesso form?
Grazie in anticipo
Vi posto il codice del form
codice:Ext.onReady(function(){ var simple = new Ext.FormPanel({ labelWidth: 75, // label settings here cascade unless overridden standardSubmit: true, frame:true, id:'test', title: 'Simple Form', bodyStyle:'padding:5px 5px 0', width: 350, defaults: {width: 230}, defaultType: 'textfield', items: [{ fieldLabel: 'First Name', name: 'first', allowBlank:true },{ fieldLabel: 'Last Name', name: 'last' }, new Ext.form.DateField({ fieldLabel: 'Date of Birth', name: 'dob', width:190, allowBlank:true }) ], buttons:[{ text:'Invia', handler: function(){ simple.getForm().getEl().dom.action = 'form.asp'; simple.getForm().getEl().dom.method = 'POST'; simple.getForm().submit(); } }] }); simple.render('testform'); });

Rispondi quotando
un "up" e' necessario e opportuno solo se la discussione va in seconda pagina...
