[jQuery] Re: Validation plugin remote problem

2009-04-13 Thread Jörn Zaefferer
The response for the remote request is wrong: http://betan.midoo.se/?data%5BUser%5D%5Bemail%5D=bla%40bla.com That should be just "true", nothing else. And, completely unrelated: The error message isn't hidden for a valid field. You can check the state of the field in Firebug. Once its valid, the e

[jQuery] Re: Validation plugin remote problem

2009-04-13 Thread Victorr
Sure. I translated the error messages to english so that you would understand :) http://betan.midoo.se On 13 Apr, 16:28, Jörn Zaefferer wrote: > Could you post a testpage? Can't see anything wrong in the snippets > you provided - its probably something seemingly unrelated. > > Jörn > > On Sun, A

[jQuery] Re: Validation plugin remote problem

2009-04-13 Thread Jörn Zaefferer
Could you post a testpage? Can't see anything wrong in the snippets you provided - its probably something seemingly unrelated. Jörn On Sun, Apr 12, 2009 at 4:18 PM, Victorr wrote: > > Ok. But what do i need too echo to get a false value and an error > message? > > thanks! > > On 12 Apr, 10:37, J

[jQuery] Re: Validation plugin remote problem

2009-04-12 Thread Victorr
Ok. But what do i need too echo to get a false value and an error message? thanks! On 12 Apr, 10:37, Jörn Zaefferer wrote: > You need to echo "true" for a valid value. > > Jörn > > On Sun, Apr 12, 2009 at 1:02 AM, Victorr wrote: > > > I'm using CakePHP, jQuery and the validation plugin. I'm ha

[jQuery] Re: Validation plugin remote problem

2009-04-12 Thread Jörn Zaefferer
You need to echo "true" for a valid value. Jörn On Sun, Apr 12, 2009 at 1:02 AM, Victorr wrote: > > I'm using CakePHP, jQuery and the validation plugin. I'm having some > problems. I'm trying to check if a email is already in use but I can't > seem to get it too work. > > I'm just trying to get