I have create a database to save templates of form submission. A user has to give the name of the template in case he wishes to save it. Everytime he creates a new template, it gets populated in the database (called template) and its title is populated in DROPDOWN.
What should happen when he selects one of the templates from Dropdown?
On selection of his previously saved dropdown, the other inputboxes should display the corresponding data which relates to the particular entry (as selected in dropdown).
What I have done: Populating the dropdown with new templates
My Issue: I am unable to fetch the data from database corresponding to the selected dropdown value. On top the user should see only his or her created templates.
Any help is appreciated. :)