I'm currently making a confluence page containing a checklist of steps to take to complete a process. I want to be able to have a checkbox that a user can click to indicate that they have started a step and another to check when they have finished.
I've got the checkbox's in place but is there any way I can display the time of it being checked next to the checkbox and user who checked it without having to manually type it? I.e.
[ ] Start
[ ] Mark as complete
-------
[/] Started at 13:15 by J.Smith
[/] Completed at 13:40 by J.Smith
I've tried writing a JavaScript macro to append the time and user details to the html that contains the checkbox however I haven't found any way of being able to save that data to confluence so that it doesn't disappear on page refresh.
The only other solution I could think of would be if confluence stores the time/name of user who clicked the checkbox and perhaps I could retrieve that data and inject it into the html on page load? However I have not found suitable data (I believe the Page History records some updates but does not record individual checkbox state changes).
I'd really appreciate any help or ideas anyone might have.
Cheers