
HTML::Shakan::Field - base class for field object

the 'id' attribute for the html elements.
the 'name' attribute for the html elements.
the 'value' attribute for the html elements.
parameter filters.
type of widget.
hashref about the miscellaneous attributes.
label for this field.
is this field's value required?
TextField(
name => 'id',
custom_validation => sub {
my ($form, $field) = @_;
if (is_reserved_id($form->param($field->name))) {
$form->set_error($field->name() => 'reserved');
}
}
)
custom validation callback
constraints for FormValidator::Lite.

tokuhirom