how to validate email field and website field. Means, in email @ and . is compulsory
and in website www and . is compulsory, something like this
pranavdv -2 Light Poster
Recommended Answers
Jump to PostWhy not use InStr?
If InStr(Email$, "@") > 0 Then 'Valid Email Format
If UCase$(Left$(Website$, 4))="WWW." then 'valid web format
If UCase$(Left$(Website$, 11))="HTTP://WWW." then 'valid web format
Jump to PostCheck for both...
If InStr(Email$, "@") > 0 AND InStr(Email$, ".") > 0 Then
'Valid Email Format
else 'not valid
end if
All 6 Replies
SCBWV 71 Junior Poster
pranavdv -2 Light Poster
SCBWV 71 Junior Poster
pranavdv -2 Light Poster
SCBWV 71 Junior Poster
pranavdv commented: helpful person upto the last query +1
pranavdv -2 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.