Survey as a time clock/punch in and out | XM Community
Skip to main content

I am wondering if anyone has ideas on how to use a survey as a time clock? I can set up a simple survey for employees to "clock in" and "clock out" but anyone have ideas on how to represent the data in a dashboard or sum the total hours per week?

emilyboness You can create a survey asking clock in or out.
Based on which if they select clock in record that time in ISO format and push that in a mailing list as a transaction and send them the clock out survey via email for that transaction.
Once they select clock out on the survey sent you will have the clock in data filled via the transaction and you now have clock out data as well.
Just subtract the two and show the result on dashboard. Now subtraction is tricky and hence I would recommend Javascript to do it and push the calculated number in an embedded data. Following post should help!
How to subtract date/time in JavaScript? - Stack Overflow
Hope it helps!


Leave a Reply