How to create multiple inputs in yii + Q&A admin page
Posted
by
user1764357
on Stack Overflow
See other posts from Stack Overflow
or by user1764357
Published on 2012-10-22T10:31:08Z
Indexed on
2012/10/22
11:00 UTC
Read the original article
Hit count: 188
In yii, i am developing page for Creating Question with multiple options using forms. So i have two tables
Question
- QuestionId
- Question
- optionId
Option
- OptionId
- Option
To create multiple options, option field should be provided with add button so that after clicking add button, it should display new textbox control to get the new option. All these options displayed in a gridview. So can you please help me. I am very new to yii.
© Stack Overflow or respective owner