oTree Forum >

Chat log (additional variable)

#1 by MouliModak

Hello,

I have an app where I need to save the time remaining in a time restricted (say time out happens in 120 seconds) page when a chat message is sent or received. The chat log saves the timestamp. I would like to add a variable in that log. Is that possible?

Best wishes,
Mouli

#2 by Chris_oTree

the built in chat doesn't do that but i recommend using chat_from_scratch (see otree-more-demos). then you can build it as you wish.

#3 by MouliModak

Thank you.

#4 by MouliModak

BTW, I have made this work. If anyone wants the code, you can contact me.

Write a reply

Set forum username