Jet\Form_Field_WYSIWYG / Form_Field::TYPE_WYSIWYG

Represents form fields in the form of a WYSIWYG HTML editor.

The field has specific behavior and a specific renderer.

The specific behaviour is that it does not pass the captured text through HTML special chars - which is of course necessary in an HTML editor.

Another specificity is a special Jet\Form_Renderer_Field_WYSIWYG renderer tailored for embedding and initializing (any) WYSIWYG editor.

Default error codes

Code Meaning of
Form_Field::ERROR_CODE_EMPTY The field is marked as required and the value is not specified.
Previous chapter
Jet\Form_Field_Textarea / Form_Field::TYPE_TEXTAREA
Next chapter
Jet\Form_Field_Password / Form_Field::TYPE_PASSWORD