Florian30
(Florian H Petter)
1
Hello!
What is the best way to create dynamic forms with YII ActiveForm?
I would like toggle some fields with a checkbox, eg:
Person:
<Gender> <First name> <Last name>
And then add a Checkbox "Address" to show some more fields:
<City> <Address> <Country>
(and the javascript input validation only if the checkbox is active).
Thanks,
Florian
wanderson
(Wanderson Wbc)
3
Try this extension: https://github.com/wbraganca/yii2-dynamicform