PDA

View Full Version : How to develop validations when the form (launcher) , using mvc architecture...



khadarmeeran
10 Dec 2011, 11:03 PM
Hi, the below attachement(kkk.zip) is the sample code that i have for email validation,,in sencha1.1 for mobiles

& i am getting Uncaught TypeError: Cannot call method 'load' of undefined...when iam selecting 'save' button

my requirement is this is the first form(launcher form) and when i select 'save' it should validate and show the validation alert below the each text field in red color...

the following code works fine when the Form.js is reveal from some other javascript,,, iam getting this problem only if its a launcher js...

please reply....

mitchellsimoens
12 Dec 2011, 9:16 AM
Please don't name your file "kkk.zip", 'kkk" actually means something in the US. Most people probably aren't going to sort through your code so instead, what are you trying to execute load on? Whatever it is, is incorrect.