I have a contact list with embedded data fields for `date` and `time`. I want to send out emails to each individual 24 hours in advance of the date/time in their contact list record. How can I do that?
Hi all,I have a survey where I've implemented a simple counter to track the number of times a user clicks on any region of a Hot Spot element. I've set up a click event listener for the path elements of the hot spot SVG, and on click, I get the embedded data field hs_ct, increment by one, then set hs_ct with the updated value. Here's a simple example: https://betterup.co1.qualtrics.com/jfe/form/SV_cTIkLpl3p9HHZtkAnd here's the JS code for the hot spot item:Qualtrics.SurveyEngine.addOnload(function(){ /*Place your JavaScript here to run when the page loads*/});Qualtrics.SurveyEngine.addOnReady(function(){ jQuery('path').on('click', function() { console.log('you clicked a region'); var ct = parseInt(Qualtrics.SurveyEngine.getEmbeddedData("hs_ct")); console.log('counter before increment: ' + String(ct)); ct = ct + 1; console.log('counter incremented by 1: ' + String(ct)); Qualtrics.SurveyEngine.setEmbeddedData("hs_ct", ct); var newCt = Qualtrics.Su
Is it possible to access an embedded data field in Javascript when dynamically constructing its field name? For example, let's say the field I want is `result.elements.0.embeddedData.V1`, but I only know the last character should be `1` at runtime (the number is drawn from a loop & merge index). I want to do something like: var n = "${lm://CurrentLoopNumber}"; // ex. n = 1 var ed = eval("${e://Field/result.elements.0.embeddedData.V"+n.toString()+"}"); But this doesn't work, `ed` just comes up `null`. (Sanity check: `console.log("${e://Field/result.elements.0.embeddedData.V1}");` does produce the value I'm expecting.) I imagine this is because of the order of operations somehow (either that or `eval()` can't execute `$` syntax?) It seems like by the time my string concatenation occurs, there isn't a good way to access the embedded data with the concatenated name. Any ideas? Note: I found this answer which sets embedded data fields with the target index as a
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.