Does cforms support field specific error messages?
I'd like to provide the user with more information in addition to the visual change from the added class and the generic error message. For example, take a form that requires a name, email address and image verification. If a user submits an empty form they would see something like the following:
[Generic error message]
» [name specific message]
» [email specific message]
» [image verification specific message]
Does the current release supposrt such an option? if not do you see it as a possibility for future releases?
Thanks in advance.
March 6, 2005
This is currently not supported, but I'll keep it in the back of my head for a future release.
What I can see as an easy option is to extend the fieldname syntax to include a optional err message, eg.:
fieldname|default val|regexp|err msg
This should be fairly easy to add, perhaps I'll include it in a beta v5.4. If you're interested, I can mail you a copy once it's incorporated.
That would be excellent Oliver. Thank you very much again!
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3739
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6400), Nicky (3)