I faced this today, and as a close solution, I copied the theme's stylesheet and then referred to it in the look and feel - it has a place for "External CSS" I did this in Chrome browser. I previewed a survey with the template I wanted to copy. Then I selected "Inspect" and found the linked css stylesheet address, something that will look like: `<link href="/jfe/themes/skins/letgo/letgo1/version-1234566788-c100e3/stylesheet.css" rel="stylesheet">` I took: /jfe/themes/skins/letgo/letgo1/version-1234566788-c100e3/stylesheet.css and pasted that into the External CSS section int he Look and Feel. Hope it helps!
N/A
Thank you @Shashi - much appreciated. Just to wrap it up for any readers, that code will output the proper yyyy-mm-dd format to then recode in Vocalize. Make sure you put it under: Qualtrics.SurveyEngine.addOnload - not OnReady for consistent firing (in my experience).
Hi @Shashi and @Priyanka_jain thanks for the advice. The dates I'm receiving in the survey will be in UNIX format like: 1516985915307. Even with custom date formatting, I don't believe there's a way to recode properly. I also am using a webservice to convert the dates: 1516985915307 becomes: Saturday 27th January 2018 12:04:44 AM, so I'm trying to convert that using custom formatting in Qualtrics Vocalize, but I think I'm having issues with the "th" in 27th. This is what I was trying: E e M YYYY HH:mm:ss a
Sure I'll keep them both above. I'm not actually using the embedded data in the survey to take any action, I'm just trying recording the date properly for Qualtrics, so that I I can properly filter within Reports or on a Vocalize Dashboard by date - e..g. filter by a month ago, filter by a year ago, etc etc.
Yeah, I can't replicate this. If anyone has any further ideas, I'm all ears. I've tried moving the embedded variables above and below the block. It first worked when they were both above the block.
@Shashi Thanks for the help here. I took your code and it alone didn't work, but I edited it and got it to work, but it only worked once! After it worked, I changed the embedded data variable to a Date setting, and no further dates would be read. I then tried to create a new date embedded variable, but for some reason that didn't work. I even restored Qualtrics to the previous working version, but that didn't work either. So...I'm going to keep playing with it - I'm not exactly sure why it's inconsistent. Here's what worked once! <code>{ <code> var UNIX= Qualtrics.SurveyEngine.getEmbeddedData('UNIX'); <code>var dateString = moment('UNIX').date.getFullYear()+"-"+(date.getMonth() + 1) +"-<code>"+date.getDate(); <code>Qualtrics.SurveyEngine.setEmbeddedData('NEW_DATE', dateString); <code>});
That is true - thanks; I'll change that around. I was playing with that to see if that made a difference. I just tested again to make sure that wasn't a reason for invalid date. Thanks so the proper full thing should read: <code>Qualtrics.SurveyEngine.addOnReady(function() <code>{ <code> var UNIX= Qualtrics.SurveyEngine.getEmbeddedData('UNIX'); <code> var dateString = moment('UNIX').format("YYYY-MM-DD"); <code> Qualtrics.SurveyEngine.setEmbeddedData('NEW_DATE', dateString); <code>});
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.