Gossamer Forum
Home : Products : DBMan : Customization :

Verify Email Field

Quote Reply
Verify Email Field
Hemsida => [2, 'alpha', 40, 255, 1, 'http://', '^http://'],
This checks that the "Hemsida" starts with http.
How do i Verify that the EMAIL address is a correct one???
xxxx@xxx.xx
So you do not by misstake forget the '@'

Thanks JFK

------------------
Sincererly

//Jim Kangosjärvi
System Designer and VisualBasic Developer
Quote Reply
Re: Verify Email Field In reply to
In the last field of the definition (where the ^http:// is), add

.+\@.+\..+

For those interested in an interpretation,

.+ = one or more characters
\@ = the @ sign
.+ = one or more characters
\. = a dot
.+ = one or more characters

This will require that all entries in the field will be in the format of
something@something.something



------------------
JPD