Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Re: Conditions for a valid email address

  1. #21
    Join Date
    Sep 2009
    Posts
    12

    Default Re: Conditions for a valid email address

    Hello there Crabtree and everybody else!I am still stuck with conditions. Please, give me a hand. The code below blocks all the e-mail formats (valid, invalid, just everything). Any ideas what might be wrong with it? Thanks.input type="hidden" name="conditions1" value=":##TEST#emailAdd ~ /^[-a-z0-9_.]+@[-a-z0-9_]+\.([-a-z0-9_.]+)*[a-z0-9_.]$/i #Please, enter a valid email address.#" Tags < and /> are removed
    Last edited by Testtor; 24-Oct-2009 at 07:18 AM.

  2. #22
    Join Date
    Feb 2010
    Posts
    7

    Default Re: Conditions for a valid email address

    I have this in my form

    <input type="hidden" name="conditions" value=":##TEST#email~/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i#Your e-mail address does not appear to be valid. Please try again.#" />

    I get errors when people try to use email like

    first.last@email.com or first-last@email.com

    Also I think when people have hyphen'd domain

    name@email-company.com

    I see the - and . in the code why does it still not pass as vaild?

  3. #23
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Conditions for a valid email address

    ok, wot's the URL for ur form....i'll test it out

  4. #24
    Join Date
    Feb 2010
    Posts
    7

    Default Re: Conditions for a valid email address

    http://www.infinitybjj.com/contact-i...jiu-jitus.html

    I just got an alert about it not being a valide email address, as someone used an address with a - in the domain name.

    Thanks for your help.

  5. #25
    Join Date
    Feb 2010
    Posts
    7

    Default Re: Conditions for a valid email address

    Nevermind, I rechecked the code and saw it was missing the -, put in there and works great now.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Don't want to force entering an email address
    By Goji in forum FormMail Subscription Support
    Replies: 10
    Last Post: 22-Jun-2004, 01:54 AM
  2. no valid recipients were specified.
    By SonSon in forum FormMail Subscription Support
    Replies: 3
    Last Post: 08-Apr-2004, 07:27 AM
  3. yet another no valid receipient
    By koocha in forum FormMail Subscription Support
    Replies: 6
    Last Post: 11-Feb-2004, 10:04 PM
  4. No valid recipients
    By Oktopuz in forum FormMail Subscription Support
    Replies: 2
    Last Post: 06-Feb-2004, 05:48 AM
  5. detect valid email sender
    By richardsb24 in forum FormMail Subscription Support
    Replies: 1
    Last Post: 01-Feb-2004, 04:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •