I have a database that stores reference information for various projects that need to be updated on a recurring basis (e.g. project A might have fields "Day completed" and "Cost" while project B might have fields "Location,""Contractor," and "Age"). I am building a web app that needs create an input form for every possible project type when clicked. I have a button that displays a drop-down menu for the different projects, but I don't know how to create the variable-length input form. This should all happen on teh same webpage. Thoughts?
Example: When project A is clicked, a form will appear that displays input options for "Day completed" and "Cost," but when project B is clicked, a form will appear for "Location,""Contractor," and "Age."