Forum Discussion
AdamHaner-18eec
2 years agoCommunity Member
Report.html
Hey all,
I have a variable in my exam "Attempts" that show how many attempts a user took to pass the exam.
I was wondering if we could create an entry on the report that I can feed this variable...
RussellKillips-
2 years agoCommunity Member
Hi Adam,
Here's what I came up with.
I added in an attempts column next to the passing score.
In order to do that, I edited the displayCourseSummary() function inside of the report.html file.
Lines 161 and 162 is where the Attempts variable is retrieved.
Line 182 creates a title for the column.
Line 194 adds in the attempt value.
I have attached a sample storyline file and report file for you to take a look at.
And here's a link to the published output:
http://www.knowledgeconstruction.com/storyline_attempts/story.html
And here's a picture of the report.