Topic RSS
6:48 pm
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.
7:07 pm
March 6, 2005
OfflineThis 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.
Most Users Ever Online: 959
Currently Online:
40 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
tracedef: 43
mores: 21
Gyrus: 20
frozenwaste: 18
asuffredini: 15
photoworks: 14
Member Stats:
Guest Posters: 3568
Members: 1464
Moderators: 3
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 5172
Posts: 18413
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6398)
FAQs
Home
Add Reply
Add Topic
Quote









