Dynamic fields using PHP Form Builder Class
<p>I am using a PHP form Builder class v3.1
<a href="http://code.google.com/p/php-form-builder-class/" rel="nofollow">http://code.google.com/p/php-form-builder-class/</a></p>

<p>I am trying to create a dynamic form</p>

<pre><code>$options = array("Amount", "Reset Password");
$form-&gt;addElement(new Element\Radio("Command Type to Employee : ", "type", $options));

$form-&gt;addElement(new Element\TextBox("Amount :", "amount"));
$form-&gt;addElement(new Element\TextBox("New Password:", "password"));
</code></pre>

<p>when I select the "Amount" radio button the "amount" text field should show and</p>

<p>when I select the "Reset password" radio button the "password" text field should show.</p>

<p>Can anyone kindly help me regarding with it.
Thanks in advance.</p>
