Categories
configurable forms mysql php

User configurable forms with php and mysql

An online application we are building (php & mysql) requires users to be able to create their own forms for data capture and record this data in a database, respecting the existing ORM’s.

If the forms where “hard coded” then we would simply set the db tables up to store the normalised data ourselves however as our users define the form fields contained in the forms, we’re not sure what is the best way to proceed to implement this functionality.

Do we need to think about some kind of meta data or data abstraction layer for our DB? Google hasn’t been too much help as we’re unsure about how we need to go about this.

Any pointers in the right direction would be gratefully appreciated!