I have some problem with view in yii. I need to make auto textfield in php, but without press a button just using enter or Tab. So, when I press enter automatic create new textField and also when I press button save I want to make all data automatic save in new record.
example :
name : qwerty
food1 : a
food2 : b
The database will be made 2 records :
record 1 :
name : qwerty
food : a
record 2 :
name : qwerty
food : b
so please help me to solve this problem.
thank you before all!