I have a table that has three fields:
Can you help me please basically my question is how to do it with all ActiveForm and validation.
My main question is that controller must create each new model before rendering the view, however we do not know how many models will create because this is decided by the user in the view.
Hello Thank you for your answer. My script is working correctly, however the client side validation in the fields create dinamically doesn’t work. ¿Can you help me?
I think that is because the validationrules aren’t load when the page si rendered. I read about activerform
But it doesn’t work. Also I think that the validation in the new fields should be the same in the model. ¿is possible do it automatically?