I have two dropdowns and a text input. Textinput will display the value based on the selection of dropdown2 and the dropdown2’ values will be populated based on the selection in dropdown1. I have set it all up sucessfully.
Now, what I want is that both dropdowns and textinput show default value. I cannot hard code it as this has to come from the database. User will feed data and that will be saved in our database and one of the data that the user wants to make default needs to be displayed on page load for that particular user.
I do not know how exactly this is done. But, to achieve it I think, I will create a database called ‘DefaultData’ this will link to the other database and fetch data. But, I do know know how can this be done. Can you help me?
Thank you.