I am creating an ASP.NET application in which the administrator of the program will be able to define custom fields for forms that the users will fill out and submit.
The admin needs to define various types of fields like checkboxes, radio buttons, textboxes, and textareas for the user to fill out. The admin also can define whether these custom fields should be required.
I am in the planning stages now and am wondering about how I will store these custom field definitions in the database and how I will render them out and make them function.
EDIT
The form data that is submitted by end users with these dynamically created form fields also has to be persisted in the database.
How can I tackle this problem?