return false;
}
else if (obj_type == "SINGLE_VALUE_RADIO" || obj_type == "SINGLE_VALUE_CHECKBOX")
{
if (obj.checked)
return true;
else
return false;
}
else if (obj_type == "RADIO" || obj_type == "CHECKBOX")
{
for (i=0; i < obj.length; i++)
{
if (obj[i].checked)
return true;
}
return false;
}
}
function _CF_checkCFForm_1(_CF_this)
{
if (!_CF_hasValue(_CF_this.name, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.name, _CF_this.name.value, "Please make sure all fields are completed."))
{
return false;
}
}
if (!_CF_hasValue(_CF_this.company, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.company, _CF_this.company.value, "Please make sure all fields are completed."))
{
return false;
}
}
if (!_CF_hasValue(_CF_this.email, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.email, _CF_this.email.value, "Please make sure all fields are completed."))
{
return false;
}
}
if (!_CF_hasValue(_CF_this.subject, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.subject, _CF_this.subject.value, "Please make sure all fields are completed."))
{
return false;
}
}
return true;
}
//-->
|
|
|
|
| If you don't see the animation above, you need the Flash 5.0 Plugin. It can be downloaded here. |
|
|
© Copyright 2002, CT Graphic Arts, All rights reserved. 4340 Santa Fe Road, San Luis Obispo, CA 93401, 877.820.6301 fax 805.544.5796 |