Error in
field.
Error in
field.
Error in field.
hidden
Error in
field.
text/javascript
text/javascript
function (_CF_this)
{
//reset on submit
_CF_error_messages = new Array();
_CF_error_fields = new Object();
_CF_FirstErrorField = null;
//display error messages and return success
if( _CF_error_messages.length > 0 )
{
// show alert() message
_CF_onErrorAlert(_CF_error_messages);
// set focus to first form error, if the field supports js focus().
if( _CF_this[_CF_FirstErrorField].type == "text" )
{ _CF_this[_CF_FirstErrorField].focus(); }
return false;
}else {
return true;
}
}
if( _CF_hasValue(_CF_this[''], "",
true
false
) )
{
if (!_CF_checkBoolean(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkcreditcard(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkdate(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkdate(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkEmail(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkeurodate(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checknumber(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkGUID(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkinteger(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checknumber(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkregex(_CF_this[''].value,
/
/,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkregex(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkssn(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkssn(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkphone(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checktime(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkURL(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkUUID(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
if (!_CF_checkzip(_CF_this[''].value,
true
false
))
{
(_CF_this, "", _CF_this['
'].value,"
");
}
}else {
(_CF_this, "", _CF_this[''].value, "");
}
if (!_CF_checkBoolean(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkcreditcard(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkdate(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkEmail(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkeurodate(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checknumber(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkGUID(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkinteger(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checknumber(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkregex(this.value,
/
/,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkregex(this.value,
/
/,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkssn(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkssn(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkphone(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checktime(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkURL(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkUUID(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkdate(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }
if (!_CF_checkzip(this.value,
true
false
)){ _CF_onErrorAlert(new Array('
')); }