I need an example to displays a list of elements with dynamic growth radio button
For example, let's assume I have N pet stores, and each store has a number-X pets (e.g. Dog, Birds, Cats, etcs.
I need the form displays these information as follow:
Pet store 1 -
Dog (radio button1 )
Cat (radio button2)
Bird (radio button3 )
Pet store 2 -
Snake (radio Button4)
cat (radio Button5)
Pet store N -
Snake (radio Button6)
cat (radio Button7)
Rabbit (radio Button8)
Also, the radio button should only affect to the corresponding pet store.
In the above example, I should be able to select radio 1, radio 4, and radio 6, but I cannot select both radio 1 and radio2 button.
How can I display this information dynamically in the form?
Thanks so much! This will be great help