code: function(options) {
        inputEx.UrlField.superclass.setOptions.call(this, options);
  
        this.options.className = options.className ? options.className : "inputEx-Field inputEx-UrlField";
        this.options.messages.invalid = inputEx.messages.invalidUrl;
        this.options.favicon = lang.isUndefined(options.favicon) ? (("https:" == document.location.protocol) ? false : true) : options.favicon;
        this.options.size = options.size || 50;
  
        // validate with url regexp
        this.options.regexp = inputEx.regexps.url;
     }
docs: Adds the invalid Url message
  @param {Object} options Options object as passed to the constructor