Make form field retain checked value on validation errors