Context: Trying to read in answers to surveys, have a list of 200+ words that we want to compare answers to, flag to proper parties if a certain word is picked up. It works great apart from the issue outlined below.
Issue: I cannot for the life of me figure out how to escape double quotes and backslashes when reading in the piped text. The strangest thing is that I am getting a "Syntax Error: missing ) after argument list" error, which doesn't make much sense. I've been all over Stack Overflow, can't figure it out. Have tried multiple ways of escaping and replacing the double quotes and back slashes, no success. See below for code segment.
var answer1pre = escape("${q://QID4/ChoiceTextEntryValue}");
I've tried doing escape('${q://QID4/ChoiceTextEntryValue}'); replacing the double quotes with single, but then I get hit with the same error if a single quote is entered in the text.
Any help is appreciated!!
Syntax Error when trying to escape piped text.
Sign up
Already have an account? Login
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login to the Community
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join.
No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Login with Qualtrics
Welcome! To join the Qualtrics Experience Community, log in with your existing Qualtrics credentials below.
Confirm your username, share a bit about yourself, Once your account has been approved by our admins then you're ready to explore and connect .
Free trial account? No problem. Log in with your trial credentials to join. No free trial account? No problem! Register here
Already a member? Hi and welcome back! We're glad you're here 🙂
You will see the Qualtrics login page briefly before being taken to the Experience Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
