Show a clearer error message for failed "noHTML" validation
-----------------------------------------------------------

                 Key: MGNLFORM-61
                 URL: http://jira.magnolia-cms.com/browse/MGNLFORM-61
             Project: Magnolia Form Module
          Issue Type: Improvement
    Affects Versions: 1.1.4
            Reporter: Felix Rabe
            Assignee: Teresa Miyar


The file 
{{/magnolia-module-form/src/main/resources/info/magnolia/module/form/messages_en.properties}}
 contains no line for the noHTML error message, showing a potentially confusing 
"invalid input" instead.  Proposed change:

{noformat}
 form.user.errorMessage.number     = must be a number
+form.user.errorMessage.noHTML     = characters "<>&" are not allowed
 form.user.errorMessage.generic    = Internal error, form could not be sent
{noformat}

I have applied this change locally and it works for me.

-- 
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