title: Hiding field of custom-multi-field using javascript in listener
body: <p>I have customized form of multi-field in a component having two variations.
  In one variation of my component I want to hide a field (title) which is inside custom-multi-field . I am using the following JavaScript code in listener.
  This code is not working. Where am I wrong?</p>
  
  <pre><code>function() {
      var dialog = this.findParentByType('dialog');
      var contenttype = dialog.getField("./type").getValue();
      var teaserlinks = dialog.getField("./teaserlinks");
      var title = dialog.getField("./teaserlinks").getField("./title");
      alert(title);
      if(contenttype == 'variation-1'){
          teaserlinks.show();
          title.hide();
      }
      else if(contenttype == 'variation-2'){
          teaserlinks.show();    
      }
  }
  </code></pre>