I am re-working Apache Cocoon Forms framework at the moment, mainly upgrading it to use the new features of Dojo 1.1 but also taking the opportunity for a bit of a cleanup.
One thing I am looking at, is the three symbols that can sit beside form fields :
- the field-error marker (currently uses an exclamation mark, don’t like it, not visually strong enough)
- the field is required marker (currently uses an asterisk, OK, I suppose …..)
- the field help marker. (currently uses an icon, one of mine I think, a bit ugly)
I am trying to decide between two different approaches, and you may be able to help me decide …….
The typical approach (the one used extensively by Dojo) would be to have graphical icons as the background of a tag, turned on and off as appropriate by toggling the ‘display’ css property.
This is all and well, but TBH I am not such a great icon maker, not all of the ones I need are included with Dojo, I do not want to rip off someone’s copyright by mistake and infect Cocoon with it.
I also reckon that these kinds of symbols are culturally-specific, hence should be controlled by the locale of the client.
So my alternative approach is to use characters from Unicode.
The characters I have chosen display fine in MacOSX, but I realise they might not do so under Windows or Linux.
So, you could help in two ways :
- Do these characters display properly on your platform?
In the context of a latin language, do they convey the right meaning?
- ⚡ field error (name: High Voltage Sign)
- ★ field is required (name: Black Star)
- ⓘ field help (name: Circled Latin Small Letter I)
Please let me know what you think in the comments.
Many thanks for your feedback.