<div>Hi </div>
<div>I am making a custom form, where I want to have work history of a person in one line and at the end of line a button &quot;add more&quot;.</div>
<div>It will look some thing like as below - </div>
<div> </div>
<div><strong><font color="#3333ff">Company  </font></strong>       <strong><font color="#3333ff">Start-Date</font></strong>      <font color="#3333ff"><strong>End-Date</strong></font>       <font color="#ff0000"><strong>Add More ...</strong></font></div>

<div><strong><font color="#ff0000"></font></strong> </div>
<div>If user clicks on button &quot;<strong><font color="#ff0000">Add More ...</font></strong>&quot; then it should add one more line and my form should look as below</div>
<div> </div>
<div>
<div><strong><font color="#3333ff">Company  </font></strong>       <strong><font color="#3333ff">Start-Date</font></strong>      <font color="#3333ff"><strong>End-Date</strong></font>       <font color="#ff0000"><strong>Add More ...</strong></font></div>

<div>
<div><strong><font color="#3333ff">Company  </font></strong>       <strong><font color="#3333ff">Start-Date</font></strong>      <font color="#3333ff"><strong>End-Date</strong></font>       <font color="#ff0000"><strong>Add More ...</strong></font></div>
</div></div>
<div> </div>
<div>So how many times user clicks &quot;<strong><font color="#ff0000">Add More ...</font></strong>&quot;, those many rows should be shown up.</div>
<div> </div>
<div>How can I acheive it  in Drupal. As per documentation and google search AHAH is capable of doing it.</div>
<div>Please correct me if wrong.</div>
<div> </div>
<div>My custom form code is as below. My questions are - </div>
<div> </div>
<div>1. How can I add 4 fields in one line. By default these are coming  below of earlier field.</div>
<div>2. How to make use of AHAH.</div>
<div>3. Also  one more challenge for me is how do act on &quot;onClick&quot; of  &quot;<strong><font color="#ff0000">Add More ...</font></strong>&quot; button, by default it may call submit handler.</div>
<div> </div>
<div>A step by step approach will help me, as first time I am looking at AHAH.</div>
<div> </div>
<div> Best Regards</div>
<div>Austin</div>
<div> </div>
<div> </div>