Dynamic form builder forms and database design


I am currently tasked with creating a form builder.

Admin users will be able to create a form from a web portal GUI and once the form has been published system users will be able to access the form, fill out the form and save the data captured in the form.

I would like to know what would be the best practice to go about building this module.

I have thought about creating a new table in the database for each form that gets created

Alternatively i was thinking about creating one forms table,an elements table,forms with elements table,element types table.

Please could you give me some guidance as to what would be the best solution
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
It sounds like reinventing the wheel.. and it's a huge task to get the UI right. So that it becomes intuitive for users.

On the otherhand use document stores, then you can create a describtive XML describing your form, create an XSLT to transform it into HTML/JavaScript which stores it results in the same object store..
Éric MoreauSenior .Net ConsultantCommented:
Can the "Dynamic Data" feature of ASP.Net can be useful for you? Check http://emoreau.com/Entries/Articles/2008/10/ASPNet-35-SP1-Dynamic-Data.aspx

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.