How do you write forms?
<p>in your framework are there any automation to build forms?</p>

<p>For example let's say you have this array of fields:</p>

<pre><code>$fields = array('name'=&gt;array('type'=&gt;'input',otherparams)
                'desc'=&gt;array('type'=&gt;'textarea',otherparams)
               );
</code></pre>

<p>based on fields you should make HTML like this:</p>

<pre><code>&lt;form&gt;
  Name: &lt;input name="name" type="text"&gt;
  Description: &lt;textarea name="desc"&gt;&lt;/textarea&gt;

//&gt;Submit
&lt;/form&gt;
</code></pre>

<p>Do you build your html by-hand or is there some sort of automation?</p>

<p>Thanks</p>
