Forums

Array of same fields, is it possible?

Grover002 02 Aug, 2010
Hi All,

In some of my forms I have a repeated field. Some 20+ occurrences. Do I need to add individual fields such as text_1, text_2 and so forth, or is it possible to include an array? Would be helpful!

Thanks,
Bas
GreyHead 02 Aug, 2010
Hi Bas,

You can use a PHP 'for' loop to generate a group of similar inputs.

Bob
Grover002 02 Aug, 2010
Sure, so here as well....hard-code it. I'll have to figure out if I really want that.

Thanks,
Bas.
This topic is locked and no more replies can be posted.