I need to force lowercase a response (participant’s email) collected via text box and save it as lowercase. Any ideas on how to do this?
Solved
Javascript for forcing text response to lowercase

Best answer by Tom_1842
In the Survey Flow, I do not see an element called "JavaScript". The code looks good though. I’ve edited it to get the ID of the Text Entry question. Try adding the below to the OnReady section of the Text Entry question's JavaScript to force lower case.
var emailInput = document.getElementById("QR~"+this.questionId);
emailInput.addEventListener("input", function() {
this.value = this.value.toLowerCase();
});
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.