Sorry, it's my fault, I missed a "!" on each test. FYI, a "!" in javascript is a logical negation.
The good one :
function EW_checkMyFormcontactus(EW_this) {
if (EW_this.x_name && !EW_hasValue(EW_this.x_name, "TEXT" )) {
return EW_onError(EW_this, EW_this.x_name, "TEXT", "Please enter a...