empty_values)) { $value = ''; } if ($value == '') { return $value; } if (!Pluf_Utils::isValidEmail($value)) { throw new Pluf_Form_Invalid(__('Enter a valid email address.')); } return $value; } }