3

I have a bunch of dynamic forms which means I can't know beforehand what and how many input fields a form has and how many forms it will be. I would like to create a dynamic model that has dynamic rules for validating all kinds of input fields and for all forms which are unknown beforehand. I have read this article, but it's not enough to approach what I want and I am not sure if it is possible to create such a model.

Does anyone know how to do that?

arogachev
  • 33,150
  • 7
  • 114
  • 117
O Connor
  • 4,236
  • 15
  • 50
  • 91

1 Answers1

1

View this solution:

https://www.google.pl/?gws_rd=ssl#safe=off&q=yii2+eav

I hope it helps

piotrek
  • 83
  • 5