Building a Dynamic Form Builder - oh my!
Posted on 2004-08-27
I'm considering using the following solution to solve a problem of allowing users to "design' forms thru the web ui...
To create a web control, lets call it a "generic form builder"... where it renders forms based on a DB query..
The result set may look like
ControlType Label DataSource
System.Web.UI.TextBox - Name null
System.Web.UI.CheckBox - Over 21 null
System.Web.UI.DropDownList - State tblStates
I'll use this web control to accept input and it allows the flexibility of letting the end users design the fields they need to capture..
So if tommorrow they decide they want to capture "Favorite Food", they have the ability to add this..there are several issues, but the one i am getting a little hung up with the the dropdownlist...
my question is, have any of the uber coders out there created as similar "form builder" that can offer any suggestions on issues with viewstate, databinding or any other hurdles you may have jumped along the way..