title: Fatal error: Call to a member function getEmail() on a non-object in magento
body: <p>I need to create vendor registration from for our vendor. How to create Form helper in custom form</p>
  
  <pre><code>&lt;form action="&lt;?php echo $this-&gt;getPostActionUrl() ?&gt;" method="post" id="form-validate"&gt;
  &lt;ul&gt;
  &lt;li class="fields"&gt;
  
                  &lt;/li&gt;
                  &lt;li&gt;
                      &lt;label for="email_address" class="required"&gt;&lt;em&gt;*&lt;/em&gt;&lt;?php echo $this-&gt;__('Email Address') ?&gt;&lt;/label&gt;
                      &lt;div class="input-box"&gt;
                          &lt;input type="text" name="email" id="email_address" value="&lt;?php echo $this-&gt;escapeHtml($this-&gt;getFormData()-&gt;getEmail()) ?&gt;" title="&lt;?php echo $this-&gt;__('Email Address') ?&gt;" class="input-text validate-email required-entry" /&gt;
                      &lt;/div&gt;
                  &lt;/li&gt;
  &lt;/ul&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I m getting error Fatal error: Call to a member function getEmail() on a non-object I need to know how can i crete form object in magento...</p>