I'm trying to create a systeem in which a student can go back through a lesson and see their last attempt inside the lesson its self.
I am able to capture the users attempt data from the DB based on the lesson and page they are on, All I need to do is then sdet this as the value of the input box or radio buttons.
My problem is I can't find where to do this, I've found the display_page function and have seen from here tht the page is being written out from the display fucntion, when chekcing this fucntion I have hit a dead end finding where to look now. There are several "display" functions inside mod lesson. Specifically one on branch table and one for each page type, be it multichoice essay short answer or so on, yet none of these functions seem to help me get any deeper and find the html readout code that I'm looking for.
Does anyone know where the html readout code is for this so that I can inject the previous attempts into the page?