Ticket #268 (closed enhancement: worksforme)
Option to use html tags as validation message instead of only plain text.
| Reported by: | svr | Owned by: | mpo |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.4 |
| Component: | modules/kauri-forms | Version: | trunk |
| Keywords: | validation html text validators | Cc: |
Description
It would be nice to have an option to use html as a validation 'message'. To show an image for example instead of text-only.
At the moment you can force it with doing to following:
'+validators': {'required' : { message: "<img src=\"/static/images/warning.png\" alt=\"Veld is verplicht\" title=\"Veld is verplicht\"/>" }}
But it's not ideal when you want to use a more complex html structure
Attachments
Change History
Note: See
TracTickets for help on using
tickets.