how to validate email field and website field. Means, in email @ and . is compulsory
and in website www and . is compulsory, something like this
Jump to Post
Why 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
All 6 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.