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_date($form, 'Month');
	$field->input_order_set(array('M', 'Y')); // Missing the 'D' field.
	$field->input_options_text_set('M', 'F'); // Month can use 'F', 'M', 'n', or 'm' formats
	$field->format_set(''); // Probably not necessary to show format labels
	$field->required_error_set('The date is required.');
	$field->invalid_error_set('The date does not appear to be correct.');
	// If you only want a month <select> field, with no year, then
	// use a new form_field_select(), as that won't try validating
	// the value as a valid date.
?>