Jet\Form_Field_Week / Form_Field::TYPE_WEEK

Presents form fields for selecting the week 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 week and year.
Previous chapter
Jet\Form_Field_Month / Form_Field::TYPE_MONTH
Next chapter
Jet\Form_Field_Time / Form_Field::TYPE_TIME