When you submit the form, the value is presented with debug_dump(), so strings are quoted and array values listed.

:
: - Stop the submitted form from bring processed
: - Don't process the form, redirect to another page (e.g. login after session timeout), and remember the values for when they return.

or back to examples


<?php
	$field = new form_field_number($form, 'Number');
	$field->zero_to_blank_set(true);
	$field->format_error_set('Your number does not appear to be a number.');
	$field->min_value_set('Your number must be more than or equal to XXX.', 11);
	$field->max_value_set('Your number must be less than or equal to XXX.', 9999);
	$field->step_value_set('Your number must be odd.', 2); // The step starts at the min value (11).
	$field->required_error_set('Your number is required.');
?>