Dear All,
In my datasource I am setting the errorMessage as you see in the below code
but at the validation time both messages (default error messages exist for all built-in validators and the application message) are comming together as you can see in the attached images
Version : SmartClient_v90p_2014-01-14_PowerEdition
In my datasource I am setting the errorMessage as you see in the below code
Code:
<field name="II1_PRODUCT_NUMBER" type="text" required="true">
<validators>
<validator type="requiredIf" expression="true" >
<errorMessage><fmt:message key="XXXX_V_011"/></errorMessage>
</validator>
<validator type="serverCustom">
<serverObject lookupStyle="new"
className="qa.gov.moi.erp.web.dmi.ItemIssueProductValidatorDMI" />
<errorMessage>$product</errorMessage>
</validator>
</validators>
</field>but at the validation time both messages (default error messages exist for all built-in validators and the application message) are comming together as you can see in the attached images
Version : SmartClient_v90p_2014-01-14_PowerEdition