How to dynamically add form controls from a dropdownlist
Posted on 2009-04-28
I want to have a dropdownlist that contains different controls like textbox, checkbox, radiobutton and so on. When selecting one of the controls from the dropdownlist and submitting a button it should appear, selecting another it should appear under the first...
I'm going to use a database to select, insert, update the forms that the user chooses.
When choosing a control and clicking the button it inserts the controls to a table in the database, later you should be able to get the whole form on another page with the selected controls from the table.
What are your suggestions to do this?