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_checkMoodle_Support(_CF_this)
{
if (!_CF_hasValue(_CF_this.name, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.name, _CF_this.name.value, "Please enter your name as it appears on the Moodle site."))
{
return false;
}
}
if (!_CF_hasValue(_CF_this.phone, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.phone, _CF_this.phone.value, "Please enter a callback phone number"))
{
return false;
}
}
if (!_CF_hasValue(_CF_this.Email, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.Email, _CF_this.Email.value, "Please enter your email"))
{
return false;
}
}
if (!_CF_hasValue(_CF_this.course, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.course, _CF_this.course.value, "Please enter a course name"))
{
return false;
}
}
if (!_CF_hasValue(_CF_this.instructor, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.instructor, _CF_this.instructor.value, "Please enter an instructor's name"))
{
return false;
}
}
return true;
}
//-->
|
|
Moodle Technical Support
Please complete the form below to submit your request for Moodle Support.
Be sure to complete all fields required.
Fields in bold are required.
|