Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.3.2

Request #19713 Add option to output both grouped and ungrouped errors
Submitted: 2012-11-20 16:26 UTC
From: kevinoid Assigned:
Status: Open Package: HTML_QuickForm2 (version 2.0.0)
PHP Version: Irrelevant OS:
Roadmaps: 2.1.0    
Subscription  


 [2012-11-20 16:26 UTC] kevinoid (Kevin Locke)
Description: ------------ A modification that I am using locally, which I have found to be quite useful, is the option to output both grouped and ungrouped errors from renderers (particularly HTML_QuickForm2_Renderer_Default). I would appreciate it if you would consider adding such a feature to the official release. The largest use case that I have found for this feature is adding classes to the input elements (e.g. an "invalid" or "error") and/or error markers (e.g. a red "*") to make it clear which field has an error while keeping the detailed error messages in a group at the top of the form. Since the above is the largest use case that I have, an alternative to facilitate this (such as adding <qf:errormarker /> or similar) would also be fine with me if you think it would be easier or have less impact on version compatibility. I appreciate your thoughts, and all your work on QuickForm!

Comments