As shown by various retagging efforts, the space character as tag separator is a double edged sword: tag entry is easy and natural, but multiple-word tags often become split tags. Likewise, other typos are likely (not long ago I retagged 2 [thumnails]
[sic]...) Requests have also been made for warnings before the (otherwise silent) creation of a new tag, and to prevent some types of tags from being created.
One work around would be the use of individual fields for each of the 5 possible tags. One tag each, tab jump to next, space character, comma, semi-colon, et al. do not print.
Example:
Errors can be managed per level.
Interface for someone without tag creation rights:
Interface for someone with tag creation rights:
On top of dynamic tag validation, there are some fun advantages too:
- Simpler "list-like" control is more similar to common combo-boxes, rather than the current "multiple lists in single field"
- No need to validate that the maximum of 5 tags has not been breached
- No need to validate that the tags are of appropriate length, just set
maxlength
on each input field to 25. (Of course, keep that validation! But it doesn't have to be on form submit)