Jet\Form_Field_Color / Form_Field::TYPE_COLOR
Presents a form field for color selection.
The Jet\Form_Renderer_Field_Input_Common renderer is used to display the form field itself.
Default error codes
| Code | Meaning of |
|---|---|
| Form_Field::ERROR_CODE_EMPTY | The field is marked as required and the value is not specified. |
| Form_Field::ERROR_CODE_INVALID_FORMAT | The value entered is not a valid color code. The color code in the same style as in CSS, e.g: #c9c9c9 |