Jet\Form_Field_Month / Form_Field::TYPE_MONTH

Presents form fields for selecting the month and year.

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 month and year.
Previous chapter
Jet\Form_Field_DateTime / Form_Field::TYPE_DATE_TIME
Next chapter
Jet\Form_Field_Week / Form_Field::TYPE_WEEK