src/Teamsisu/MetaModelsFrontendInput/FrontendIntegration/Form/FormURLField.php
protected function validator($varInput)
	{

		if (is_array($varInput))
		{
			return parent::validator($varInput);
		}

        $varInput = \Idna::encodeUrl($varInput);

		return parent::validator(trim($varInput));
	}
protected function validator($varInput)
	{

		if (is_array($varInput))
		{
			return parent::validator($varInput);
		}

        $varInput = \Idna::encodeUrl($varInput);

		return parent::validator(trim($varInput));
	}
protected function validator ( $ varInput ) { if ( is_array ( $ varInput ) ) { return parent :: validator ( $ varInput ) ; } $ varInput = \ Idna :: encodeUrl ( $ varInput ) ; return parent :: validator ( trim ( $ varInput ) ) ; }
Trim the values

@param mixed $varInput The user input

@return mixed The validated user input
Trim the values