public function setValue($value)
    {
        if (is_string($value) && strlen($value) > 100) {
            $value = substr($value, 0, 96).'...'; 
        }
        $this->value = $value;
    }
public function setValue($value)
    {
        if (is_string($value) && strlen($value) > 100) {
            $value = substr($value, 0, 96).'...'; 
        }
        $this->value = $value;
    }
public function setValue ( $ value ) { if ( is_string ( $ value ) && strlen ( $ value ) > 100 ) { $ value = substr ( $ value , 0 , 96 ) . '...' ; } $ this -> value = $ value ; }
Set the value in the field that failed to validate

@param mixed $value
Set the value in the field that failed to validate