Skip to main content
Inspiring
November 12, 2008
Question

Client Side Validate Email

  • November 12, 2008
  • 1 reply
  • 359 views
I have one .cfm page containing only a <cfform action= url and a <cfinput . . . required="yes"> where a message box pops up if there is not a value entered (ie it works fine)

BUT no pop up occurs when:

another .cfm page that starts with a <cfif> that nests the <cfform action="" and <cfinput . . . required="yes" message="Please enter a valid Email Address." validate="email">

Any help on why this might be???
    This topic has been closed for replies.

    1 reply

    Inspiring
    November 14, 2008
    ProjectedSurplus wrote:
    > I have one .cfm page containing only a <cfform action= url and a <cfinput .
    > .. . required="yes"> where a message box pops up if there is not a value
    > entered (ie it works fine)
    >
    > BUT no pop up occurs when:
    >
    > another .cfm page that starts with a <cfif> that nests the <cfform action=""
    > and <cfinput . . . required="yes" message="Please enter a valid Email
    > Address." validate="email">
    >
    > Any help on why this might be???

    http://www.catb.org/~esr/faqs/smart-questions.html#writewell

    --
    Mack
    November 14, 2008
    quote:

    Originally posted by: Newsgroup User
    ProjectedSurplus wrote:
    > I have one .cfm page containing only a <cfform action= url and a <cfinput .
    > .. . required="yes"> where a message box pops up if there is not a value
    > entered (ie it works fine)
    >
    > BUT no pop up occurs when:
    >
    > another .cfm page that starts with a <cfif> that nests the <cfform action=""
    > and <cfinput . . . required="yes" message="Please enter a valid Email
    > Address." validate="email">
    >
    > Any help on why this might be???

    http://www.catb.org/~esr/faqs/smart-questions.html#writewell

    --
    Mack



    LMAO!!

    Nice one.

    Well, to the user, you really should brush up your question a bit more.

    If the only difference is a CFIF, then perhaps a condition is not being met?

    Mikey.