Little change for management better the errors in fields

This commit is contained in:
Antonio de la Rosa 2015-12-17 01:48:11 +01:00
parent 243767bc12
commit 479f449b13
25 changed files with 124 additions and 24 deletions

View file

@ -18,8 +18,16 @@ class NormalizeField extends TextField {
public function check($value)
{
$value=$this->check_text($value);
return $this->check_text($value);
if($value=='')
{
$this->error=1;
}
return $value;
}