Ambition.Form.FormDefinition.add_field_error – ambition Reference Manual
Packages
ambition
Ambition
Form
FormDefinition
form_name
request
FormDefinition
add_field_error
add_form_error
bind_request
bind_state
do_property_bind
get_field_errors
get_form_errors
has_errors
is_valid
render_field
validate_form
field_errors
form_errors
add_field_error
Description:
public
void
add_field_error
(
string
field,
string
error_string)
Add an error that is specific to a field.
Parameters:
field
Name of the field/property
error_string
Error text