[Cppcms-users] Reporting validation failure reasons back to users
Brought to you by:
artyom-beilis
From: doug l. <bi...@gm...> - 2012-04-11 22:02:23
|
Hi -- I was just wondering if there's a mechanism for reporting detailed form validation failure reasons back to the user? I've been digging around in the tutorials and API docs & haven't found one. The tutorial on forms shows how to set up validation on a form, but that form just redisplays if the validation fails. In RoR, validation also adds errors to a collection whenever a validation constraint fails. Is there something like this in cppcms, or is this something the framework user should implement themself? If so, is there a recommended way of reporting validation errors back to the user? Thanks, Doug. |