logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Jake Howlett
    • Posted on Tue 27 Feb 2007

    Hi Peter.

    The email validation is a regular expression in the code. You can either edit that regexp or create a new one like this:

    {name: "myEmailField", type: "regex", pattern: /hotmail.com/, message: "Hotmail not allowed"},

    For the spaces you'll have to learn a bit more about reg expressions.

    Jake

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: