1

Create a multiple field form in YII2.

For example: I have 2 fields like username and number username store in one table while number store in other table. And user can add multiple number while click on add more. So how can we do that with yii2, with validation?

Jørgen
  • 3,467
  • 6
  • 33
  • 49
Ishan Shah
  • 1,665
  • 2
  • 20
  • 42
  • do you need to use yii validation with models ? Also please tell the names of both your models related to both tables – ck_arjun Mar 20 '16 at 14:52
  • I have a similar problem. If you read the description of my problem, you will probably find the answer to your question: http://stackoverflow.com/questions/36130867/yii2-adding-dynamic-datecontrol-fields-from-related-model-to-a-form – Antonín Slejška Mar 21 '16 at 12:23

0 Answers0