Cannot (easily) provide custom error message with custom validator
------------------------------------------------------------------

                 Key: MGNLFORM-79
                 URL: http://jira.magnolia-cms.com/browse/MGNLFORM-79
             Project: Magnolia Form Module
          Issue Type: Improvement
    Affects Versions: 1.2.1, 1.1.4
            Reporter: Felix Rabe
            Assignee: Tobias Mattsson


I've created a new module (magnolia-module-enterprise-validation) in which I've 
implemented a new validator.  (This validator is to be shipped separately from 
the Form module.)

At the moment, there is no straightforward way to show a custom error message 
upon failed validation for this validator.  I.e., it is not possible for the 
validator to show a custom error message in this setup:

- Add the validator to config:/modules/form/config/validators as 
'enterpriseEmail' (using a bootstrap file)
- Use the validator for a form field by selecting it there.

Showing a custom error message would require unneccessarily invasive changes to 
the form as a whole.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to