`
/*Place your JavaScript here to run when the page is fully displayed*/
//record current date/time as startTime
var startDate = new Date();
//pull the pracTime variable from qualtrics
var theString = "${e://Field/pracTime]";// <--- This is the part that isn't working
//theString = "'0,0,0,FU,0,0,0,0,0,0'";
console.log(theString);
//split the string into an array
var allTimes = theString.split(",");
console.log(allTimes);
console.log("anything");
`
Best answer by Anonymous
View original