jQuery: The Write Less, Do More JavaScript Library

Validation Plugin remote method

View: New views
2 Messages — Rating Filter:   Alert me  

Validation Plugin remote method

by hcvitto-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


hi
i'm trying to do a remote validation on an email field just like the
Marketo sign-up form one!
I'm not a programmer (don't know json too) and i don't exactly know
what to put in my "email.php" file (which does the actual check). At
the moment it just does a normal php check therefore nothin' happens.
Could anyone give me some clue or some good link to read from?

Thanks
Vitto

Re: Validation Plugin remote method

by Jörn Zaefferer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


You can use the php file provided in the download (within
demo/marekto) as a reference to get the parameter and return the
result. I can't help you with actually implementing the check, which
most likely needs to select something from a database to check if the
address already exists. There are plenty books and sites on PHP and
MySQL.

On Tue, May 13, 2008 at 3:47 PM, hcvitto <hcvitto@...> wrote:

>
>  hi
>  i'm trying to do a remote validation on an email field just like the
>  Marketo sign-up form one!
>  I'm not a programmer (don't know json too) and i don't exactly know
>  what to put in my "email.php" file (which does the actual check). At
>  the moment it just does a normal php check therefore nothin' happens.
>  Could anyone give me some clue or some good link to read from?
>
>  Thanks
>  Vitto
>