My idea is a menu where user select type of control for create his own form.
In a menu could select input text , textarea, checkbox, etc an thouse controls
The new form and those controls would be written to databases as a user-created form.
The user could add required or validation options.
My question is, how would you do it?
Do you think is a good way if I create tempates html for every type of control so wen user add, for example, 5 input text and 1 textarea all of this controls are basic templates.
Then, in that template the user can add especific label name and set especific max values, if it is a required field, etc.
How would you plan an application like this?
I need some ideas of games or ideas on how to approach this type of project.
Thinking always that later, in the future, add the possibility that the user can add datepickers fields or WYSIWYG fields for example.
Even the user would be able to add more complex controls like dependent fields like select options controls dependant.
The final idea is that a user could create his own form adding fields or controls, basic controls that he can configure with more features like if it is required or no etc.
Need a basic simple resumen idea you would do it, contrast for do it in the most correct and extensible way and with good performance in case a lot of forms fields.
Thanks in advance.