My requirements are:
- Need to be able to dynamically add forms with different fields/field types
- A form can include a dropdown that gets filled with the values of another
submitted form Eg : Staff form :
- First name(text box)
- Last name(text box)
- Department(dropdown) -> should be bind to department form
Department Form :
- Department name(dropdown)
Other information:
- My database is SQL server
- Iām looking for performance
- Each table can have more than a million records
- We have more than 1000 users in our system
- We need to get different reports on submitted record by user
- Reports need to have filtering functionality on all columns
Options:
- Create one table per form
- add 2 tables for form-structure and field-structure then 2 more tables for submitted-form-value and submitted-field-value
Any other option or idea?