Hi guys , 

I am using server controls for validating fields i am using for sending email. 
Now the code looks like this 


if request.form("Email")<> "" 

      send email code ...

end if 

in the script 

i m using <asp: required field component and also validate email address 
component .>

Now when i click submit button , it says email required if it is not entered , 
but if i enter like hhh , it passes the required validation , displays "enter 
proper email address" ., but also send email ... it should stop for entering 
proper email address. . . 

 

problem is i dont know how to call the validation component ...

i mean i want to put if request.form("Email") = --- validation component-------

Thanks

Harman

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to