Payment System Problem

Hi. I have a question about generating textfields + datefields:

I want to choose how much money you wanna pay and from dropDownList value (range 1 to 12) and then generate same amount of textfields + datefields with specific value.

For example: I choose from dropDownList ‘5’ and 3000$. I get 5 textfields - every textfield has a value of 3000$/5 + datefield with date now() + 4 next values with 365/5 difference

I was thinking about using http://www.yiiframework.com/extension/jqrelcopy/ but i’m not sure it’s ok…

Any help appreciated :)

All I could find is MultiModelForm and use it for adding more textfields. But I`m not sure if I can set default value for every next textfield.

http://www.yiiframework.com/extension/multimodelform/