[State] Error State

Takes one parameter.

Description:

This new Field Attribute is intended to be added to a Field at runtime after processing a form and redisplaying it with errors. The value specified here will be added to the form-group class with the has-'value' class to display the label/control/help text in the various colour display states.

This Field Attribute is only usable with Bootstrap.

Example:

[State] Warning