Pre-Populate form elements in EJS
|Added at||2016-12-19 19:12|
I am sending information from a data base to the updatecontact.ejs. What this is doing is allowing the user to change the information they have already put in. So i would like to have the text forms already pre-populated with the users previous information. In the form itself to check that everything was sent over properly i printed everything out like this.
Everything prints out correctly. So if the Street was 55 Green Street it print it out. But when i go to pre-populate the text field it only shows the 55.
How would i get it to print out 55 Green Street in the text field instead of just 55?