Do you want the same field to be repeated dynamically on the page? Or do you want to generate 8 new records for every 1 field entry?

More information would be very helpful

I want to generate 1-100 or more records for 1 field entry. Suppose I have one input text field and user input 1-200 and submit, then controller will insert 1 to 200 records in to the database. I don't understand how to write this in my controller

BTW nemo, I would recommend using 2 text fields if you're allowing a range, so your users don't have to adhere to a specific format. Also then you wouldn't have to worry about splitting/exploding the string based on the hyphen.

BTW nemo, I would recommend using 2 text fields if you're allowing a range, so your users don't have to adhere to a specific format. Also then you wouldn't have to worry about splitting/exploding the string based on the hyphen.

can you send me an example with controller? It will really help me.
Thanks