Feature #3793
CSS class for errors in form view helpers
Status: | Resolved | Start date: | 2009-06-28 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Christopher Hlubek | % Done: | 100% |
|
Category: | ViewHelpers | |||
Target version: | - | |||
Has patch: |
Description
Form view helpers should automatically add a CSS class if an error for the property exists. The name of this class should be overridable.
Associated revisions
- [TASK] Fluid (ViewHelpers): Implemented a first version of error marking on form view helpers. Refs #3793
History
#1 Updated by Bastian Waidelich almost 6 years ago
This is already implemented, right?
#2 Updated by Christopher Hlubek almost 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Yes, it's implemented in r2669. The CSS class can be set by the attribute errorClass
. As a default the class "error" will be used.
#3 Updated by Bastian Waidelich almost 6 years ago
Christopher Hlubek wrote:
Yes, it's implemented in r2669. The CSS class can be set by the attribute
errorClass
.
Ah, right I remember.
Just for the record: In r2914 the functionality has been moved to the abstract base class and the attribute was added to "Select", "Textearea" and "Upload" form view helpers too.