Source for file form_field_number.class.php
Documentation is available at form_field_number.class.php
// *** Tangra (Application Framework and Tools for PHP)
* Contains class Form_Field_Number
require_once(TANGRA_MAIN_DIR. 'form/fields/text/form_field_text.class.php');
* Represents text field that accepts number
* @param string $name Name of the field
* @param boolean $required Is field required. Default is false
* @param integer $maxlength Maximum length of the text. Default is 100
* @param string $value Default value.
function __construct($name, $required = false, $maxlength = 100, $value = NULL) {
parent::__construct($name, $required, $maxlength, $value);
* Performs basic check for validity
|