public function setUserValue(string $value) : FormElement
    {
        if (is_array($value)) {
            $value = implode(',', $value);
        }
        parent::setUserValue($value);
        return $this;
    }
public function setUserValue(string $value) : FormElement
    {
        if (is_array($value)) {
            $value = implode(',', $value);
        }
        parent::setUserValue($value);
        return $this;
    }
public function setUserValue ( string $ value ) : FormElement { if ( is_array ( $ value ) ) { $ value = implode ( ',' , $ value ) ; } parent :: setUserValue ( $ value ) ; return $ this ; }
Sets a user value to be validated. Overridden to convert arrays to strings.

@param string $value
@return FormElement
Sets a user value to be validated . Overridden to convert arrays to strings .