AnsweredAssumed Answered

Field validation not working

Question asked by monicag on Jun 19, 2015
Latest reply on Jun 24, 2015 by monicag
Hi,

I try to add email validation to a field with validation handler. In share-form-config-custom.xml, added next lines:

<appearance>
  <field id="my:thirdPartyEmail">
        <constraint-handlers>
      <constraint type="MANDATORY" validation-handler="Alfresco.forms.validation.email" event="keyup" />
   </constraint-handlers>
  </field>
</appearance>


In browser in the create form, nothing happens, the field is saved without any validation. Is it something wrong or incomplete with the configuration? Using Alfresco Community 4.2.c.

Outcomes