title: load userDefinedForm in costum template Silverstripe
body: <p>Hi all I have little problem on Silverstripe 3.1 I am trying to pull out Form from UserDefinedForm module but no success maybe some one had that problem?</p>
  
  <p>My controller function:</p>
  
  <pre><code>public function getContactPageForm(){
      $record = DataObject::get_one("UserDefinedForm", "URLSegment = 'contactpageform'");
      $results = new UserDefinedForm_Controller($record);
      return $results;
  }
  </code></pre>
  
  <p>My template:</p>
  
  <pre><code>&lt;% if getContactPageForm %&gt;
     &lt;% loop getContactPageForm %&gt;
        $Form
     &lt;% end_loop %&gt;
  &lt;% end_of %&gt;
  </code></pre>
  
  <p>PLZ HELP</p>