thaks in advance if I am steered rightly

I have created a form in which a combobox and a submit button are present.
when i select an integer value from combobox (Ex: 5) and click submit button, those many number of textboxes (Ex: 5) are to be created dynamically in the same form using a for loop...
I have created.. but its not working..
Can anybody help pls..