<<BACK HOME CNCPT TTRL JS | sf.net/projects/validateformjs | [ U | s | m | ? ] |
rqd dec EML int len mcr bss trm sif | All Concepts | |
frm txt pwd txa rdo sl1 chk slm | All Object Types |
validate_form.js
sMsgTxtEmail
Ensures a string value is a properly-formatted email address. | Summary |
sMsgTxtEmail |
All Attributes |
txt pwd txa rdo sl1 chk slm |
Interactive Example Code |
Higher [ trm rqd len dec EML int sif mcr bss ] Lower |
Precedence |
[TOP] sMsgTxtEmail attribute: sMsgTxtEmail |
|
Value Purpose | The error message presented to the user when the value is not a valid email address. |
Value Rules | Must be a string at least one character in length. |
Object Compatibility |
text , password |
Attribute Compatibility |
sMsgRequired , sMsgBadLength , bsNoBadSubStrs , asBadSubStrs , sMsgBadSubStr , bsDontTrimSpaces , bsTrimSpaces |
sMsgTxtEmal
Notesutil_string.isEml()
.TOP
rqd dec EML int len mcr bss trm sif |
|
VF-Config Snippet | f_orm.your_email.sMsgTxtEmail = 'That is not a legal email address.'; |
Example Element | <INPUT TYPE="text" NAME="your_email"> |
The form | Change the vf-configuration |
TOP
rqd dec EML int len mcr bss trm sif |
|
VF-Config Snippet | f_orm.secret_email.sMsgTxtEmail = 'Your *secret* email address (shhhhhh) is not a *legal* email address.'; |
Example Element | <INPUT TYPE="password" NAME="secret_email"> |
The form | Change the vf-configuration |
Copyright (C) 2003-2005, Jeff Epstein. All rights reserved.