View Full Version : Help with FormPanel: undefined message on sending info

13 Jul 2010, 5:48 PM

I've been playing with the login tutorial (http://www.sencha.com/learn/Tutorial:Basic_Login). Works fine!

I just change the url attribute, passing an variable that have the correct url (i use javascript alert to see the content).

When i click in the login button, i receive the responde "undefined". :-?

If i change the url from "url_login" (my variable) to the url "http:// ..." it works.

This is my html page: http://pastebin.com/FFnxACjf
And this is login.js: http://pastebin.com/GpiahR6N

-- Sorry for my poor English.


13 Jul 2010, 5:54 PM

are you sure that url_login is actually a String?

14 Jul 2010, 4:47 PM
Garcia, thanks for reply.

If i use alert before create the var login, the return is: http://www.siscommerce.nevile.net/login/

Seeing firebug the ajax request dont happen.

I have an online version on: http://siscommerce.nevile.net/logintest

And the version with the static string as url is on: http://siscommerce.nevile.net/login