/** * The form value as submitted * @param string $name The field name * @param boolean $trim If false, no string trimming is performed * @return string Returns the submitted field value */ protected function Value($name, $trim = true) { $value = Request::MethodData($this->Method(), $name); if ($trim) { return String::Trim($value); } return $value; }