PDA

View Full Version : how to?



necco
26 Mar 2010, 1:07 AM
Hi!
I attached an archive with 4 files: SimpleForm.html, SimpleForm.ui.js, SimpleForm.js and index.js. Files are obtained by exporting from Ext Design.

I understand that I must keep te SimpleForm.ui.js untouched and to implement my methods in SimpleForm.js but I do not know how.

Please help me showing the code from SimpleForm.js how to make the "Save" button to show a message like: Ext.Msg.show({title: 'Hi!', meg: 'Hi Mr. ' + ... here I want to put one of the names taken from the form's fields ...})

I do not know where and how to put my code intot the SimpleForm.js. :((

Thanks for your help.