public static function reset($value = null, $attributes = array()) { return static::input('reset', null, $value, $attributes); }
function init() { $formx = new form(); global $error; $formx->set_error(0); if (!$error) { $formx->reset(); } }