mysql - Database Design - Form Builder -
i developing application spring mvc , hibernate forms can configured dynamically admin.
for e.g. default user have attributes firstname, lastname, email. admin can add more fields birthdate, address, anniversary.
for have decided use form builder approach.
how design database such system?
one approach have decided is: http://goo.gl/smvuwl
but here not clear, how store data newly created fields.
do let me know if need more info.
i using spring mvc + hibernate , end mysql
it seams solution mentioned in question holds form definition metadata.
structure used render form users.
form fulfillment data need other tables.
form-data: --------- id pk user-id fk form-id fk fulfillment-date last-update-date etc... form-element-data ----------------- id pk form-data-id fk element-id fk value (text) etc...
hope helps.
Comments
Post a Comment