I'm a self taught novice coder and my friend who I'm doing some work for would like me to add a section to his website that will allow his Admin users to create a form that users can fill out. At first the idea sounded pretty easy, just find out if the user wants to create an input field, radio button, then record the number of options, and store everything in a database. Allow them to enter descriptive text, and move on to the next input type. Perhaps add some sort of way to order these new items for the particular form that is being worked on.
The end result will allow admin users to crate various forms to gather contact information, etc. Of course there ends up being more to it such as javascript form checking if the admin user wants to ensure a certain field to only accept numeric values, etc. upon submitting form.
I'm trying to figure out the logic behind what I'm about to do so that I can make this happen.
Does anyone know if there's anything open source out there that has already has this functionality?
Thanks!