Hi Scott,
Yes, it is possible and your understanding of OnSubmit function is also right. returning any value other than true should stop the request submission.
Ex:
{
validate: function(){
if(ca_fdGetTextFieldValue(ca_fd.formId,'empid').length < 4){
alert("Employee ID must be greater than 4 characters");
return false;
}else{
return true;
}
}
OnSubmit: ca_fd.js.validate();
Regards,
Satya Kiran