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.cliadf, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.cliadf, _CF_this.cliadf.value, "Vous devez saisir votre N° d'identifant ADF"))
{
return false;
}
}
if (!_CF_hasValue(_CF_this.nomadf, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.nomadf, _CF_this.nomadf.value, "Vous devez saisir votre nom"))
{
return false;
}
}
if (!_CF_hasValue(_CF_this.prenomadf, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.prenomadf, _CF_this.prenomadf.value, "Vous devez saisir votre nom"))
{
return false;
}
}
if (!_CF_hasValue(_CF_this.emailobligatoire, "TEXT" ))
{
if (!_CF_onError(_CF_this, _CF_this.emailobligatoire, _CF_this.emailobligatoire.value, "Email obligatoire pour recevoir vos identifiants."))
{
return false;
}
}
return true;
}
//-->