protected function validateUrlCollectionItem()
    {
        $url = $this->getSubmitted('data.url');

        if (isset($url) && mb_strlen($url) > 255) {
            $this->setErrorLengthRange('data.url', $this->translation->text('URL'), 0, 255);
            return false;
        }

        return true;
    }
protected function validateUrlCollectionItem()
    {
        $url = $this->getSubmitted('data.url');

        if (isset($url) && mb_strlen($url) > 255) {
            $this->setErrorLengthRange('data.url', $this->translation->text('URL'), 0, 255);
            return false;
        }

        return true;
    }
protected function validateUrlCollectionItem ( ) { $ url = $ this -> getSubmitted ( 'data.url' ) ; if ( isset ( $ url ) && mb_strlen ( $ url ) > 255 ) { $ this -> setErrorLengthRange ( 'data.url' , $ this -> translation -> text ( 'URL' ) , 0 , 255 ) ; return false ; } return true ; }
Validates collection item URL
@return boolean
Validates collection item URL