Retain original date when user reprints certificate
March 21, 2014 12:00 AM
I am designing a course where the user goes through the course and has to take a quiz at the end. There is a certificate page that has the option of printing. However it is a time sensitive submission and not all students will remember to print.
I was wondering if there is a way to retain the original date that a user submits the quiz? So that if a user submits their quiz on March 21st but forgets to print it and goes back into the course the next day, is there a way for it to still read March 21st? Right now I have the variables set to CurrentDate but is is a changing variable. Is there a way to time stamp the certificate with the original date of completion?
I have a re-print button on the first page so that the user doesn't have to re-take the quiz. Thus, it won't reset any of the quiz variables.
Any information on this will be greatly welcomed.
Thank you!
Discussion (2)
This is wonderful! Thank you so much. I will try this out now. I greatly appreciate it!
I couldn't test it but I think it should work.
Create a variable, e.g. "dateofgrant", initial value = 0, check "retain value between sessions".
Add an action to the button that opens the certificate:
On: Click
Action: Modify variable
Target: dateofgrant
Type: Set
Value: VAR(CurrentDate)
Condition: Only if dateofgrant equal to 0
Use the variable dateofgrant to insert the date on the certificate. It will only be changed if it's = 0, i.e. only if it hasn`t been changed before. If it already contains a date (if it's not equal to 0) it won't be changed.
Tim
Discussions have been disabled for this post