﻿
function EW_checkMyForm(EW_this) {
if (EW_this.x_coment_autor && !EW_hasValue(EW_this.x_coment_autor, "TEXT" )) {
	if (!EW_onError(EW_this, EW_this.x_coment_autor, "TEXT", "Insira o seu nome ou uma alcunha para identificação do comentário"))
		return false;
}
if (EW_this.x_coment_ref_id && !EW_hasValue(EW_this.x_coment_ref_id, "SELECT" )) {
	if (!EW_onError(EW_this, EW_this.x_coment_ref_id, "SELECT", "Escolha uma assunto para o seu comentário"))
		return false;
}
return true;
}

