Survey Completion Timer from the time Survey Has been Accessed

15 views
Skip to first unread message

Sai Rahul Balijepalli

unread,
Jun 17, 2026, 11:28:12 PM (12 days ago) Jun 17
to Redcap Open
We are currently building an exam survey for students on REDCap and we are trying to set an exam timer from when the survey was opened by the student. I tested the “Time Limit for Survey Completion” survey setting but that setting only calculates the time and limits the survey from the time the survey invite link was sent compared to when the survey link was opened by the student. I could not find any external modules on REDCap that could do this. 

I am reaching out to see if there is an external module I missed and if there is a way to do this.

Thank you,
Rahul

Eryka Saylor

unread,
Jun 18, 2026, 8:57:56 AM (12 days ago) Jun 18
to Sai Rahul Balijepalli, Redcap Open
I don't use an external module to calculate, but here is how I do it:

1. At the start of the survey, I ask the respondent for "time they began the survey" as a Text Box, using the validation of Time (HH:MM). 
2. At the end of the survey, I ask the respondent for "time they ended the survey" as a Text Box, using the validation of Time (HH:MM).
3. At the end of the survey, after the variable I create in step 2, I created an @hidden-survey variable for survey completion time as a Calculated Field and use the following equation: datediff([start_time],[end_time],"m"). It will calculate the time it took them in minutes. 

Hope this helps! I'm sure there are fancier ways, but this works. 

--
You received this message because you are subscribed to the Google Groups "Redcap Open" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redcap_open...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/redcap_open/b6cc67ed-27f1-4048-b53e-6a21d80f185en%40googlegroups.com.

Rick Watts

unread,
Jun 18, 2026, 11:32:04 AM (12 days ago) Jun 18
to Eryka Saylor, Sai Rahul Balijepalli, Redcap Open
You can also use action tags @NOW and @HIDDEN-SURVEY to prepopulate a hidden field with the date and time when the survey form is opened. @NOW takes the local time from the participant's browser, whereas @NOW-SERVER will populate with the server time. You'll have to decide which one meets your needs best, or maybe just use both.

Rick Watts

Team Lead, Research Informatics, Women and Children’s Health Research Institute

Health Research Data Strategist, College of Health Sciences


rick....@ualberta.ca

University of Alberta

5-083 Dianne and Irving Kipnes Health Research Academy

11405 87 Avenue NW Edmonton, AB T6G 1C9

F:  (780) 248-5616


        University of Alberta Logo


WCHRI is a partnership between the University of Alberta and Alberta Health Services, funded by the generosity of the Stollery Children's Hospital Foundation and the Alberta Women’s Health Foundation.


The University of Alberta respectfully acknowledges that we are situated on Treaty 6 territory, traditional lands of First Nations and Métis people.


 



Reply all
Reply to author
Forward
0 new messages