I am working on a form-generator, however , I was confused when attempting to create the database for it.
The requirement is divided into backend / frontend,
For backend, the admin can manage the form
- specific form name
- manage the form input (only input box , select box , check box are allow)
- input title
- is required?
- if selectbox:
- option name , value
- *is pop up other input when I select the value?
- if input box:
- is numeric / string type?
frontend: can store the form value
The problem are:
1) For the * , For example, if the user select option A , then the option C is visible , otherwise , it is hidden , how can I store the relationship?
2) How can I store the value in this form ? If I put in one table / the value are possible to be varchar / float / integer / tinyint
Thanks for helping