I’m new to Yii and the forums so forgive me if I’m wrong or this question has already been answered, but as I understand it there is no easy way to make a dynamic form.
In my case I have a database of products which I have already modeled and displayed. However if I wish to add a check box to each product so that a user can select some number of items an click an order button I will have to have a variable for each product that could be displayed in the form model. Since I don’t know the name of or the number of the products I’m not sure how to proceed or if my method is even possible in Yii.
Is there some built in way of achieving this, or do I need to alter the way I am designing the order pages view and controller.