if it is a server side validation error message, a validation show if behavior should be applied.
Select the error message, then go to Webassist -> Forms -> Validation -> Validation Show If.
select the validation that should be used to trigger the error, and click the plus button to add it to the failed conditions list.