Recently, I completed constructing a lengthy form field where users can enter a plethora of information. This form consists of various text and number fields, radio button sets, and checkbox groups. The data is successfully saved in a Mongo collection without any issues.
My current goal is to create a second page that will display the same HTML form but with all the fields prepopulated using JavaScript. I plan to retrieve the previously entered information from the collection using the object id pass via data context by the router.
Although I understand this should be a simple task, my knowledge of JavaScript is limited at the moment. Despite conducting several searches, I have yet to find a straightforward solution. Any help would be greatly appreciated!