Survey stuff (smiles, increase response rate, etc)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2015 11:15 AM
Greetings Community,
I have a recent requirement to make surveys more friendly and appealing to increase response rates, and by this, one example is to add pictures (i.e. smiley faces) and possibly embed surveys in emails to send the response to ServiceNow, or have multiple picture links in emails that would pre-answer at least one question in ServiceNow, anything that would make answering any part of a survey as easy as possible.
This is what I found researching so far, feel free to correct me.
1. Embedding surveys in emails won't work to send data to ServiceNow, due to restrictions of the Outlook server of 2010+, Outlook client security prompts.
2. The Tilton smiley face update on Share won't translate onto the new Eureka upgraded survey platform because UI macros are not supported, though it continues to work on the legacy survey.
Question:
1. Has anyone successfully done a survey notification that looks like an Amazon feedback survey or a Square credit card charge or Uber survey with smiley faces that might pre-answer at least one question on the survey, or anything close to that sort? Is it even possible within ServiceNow?
2. Or if no answer for #1, has anyone found a clever way to increase user's response rate to the surveys by making them click on the survey link, instead of offering them a chance at winning something?
Thanks!
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2019 08:46 AM
Gotcha - thanks for providing this link. I was hoping to open the survey in a browser with one of the questions auto-populated rather than having to reply to the survey invite and having that email reply be the survey submission, but I appreciate your help.
Regards,
Chris Perry

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2019 06:40 AM
Hey Aravind / Harsh --
Replying to let you guys know that I solved this issue of getting the dynamic element IDs of the image scale radio buttons onLoad, as well as being able to set one of those image scale radio buttons as being selected onLoad.
Here's the code I used:
var scale = document.getElementById('grade').value; //get hidden custom field value
var imageRadios = $(document.body).select('.questionSetWidget');
for(i = 0; i < 1; i++) {
var element = imageRadios[i];
var elemId = element.id;
var perPos = elemId.indexOf('.', 65);
elemId = elemId.substring(0, perPos);
g_form.addInfoMessage('elemId is: ' + elemId);
var finalElem = elemId + '.' + scale;
g_form.addInfoMessage('finalElem is: ' + finalElem);
g_form.checkRadioButton(finalElem);
}
The code above may not work depending on where your image scale question is located in the survey. Because the image scale question that I am trying to grab / auto-populate is the first question in my survey, I only had to iterate in the for loop once to get the image scale question's element ID.
Thanks,
Chris
Regards,
Chris Perry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2020 07:52 AM
Hi Chris,
Thank you so much for this. I have taken the liberty to add/modify a little bit, so that the functionality is not depending on the location of the question, but on the question/label instead.
var scale = document.getElementById('grade').value; //get hidden custom field value
var imageRadios = $(document.body).select('.questionSetWidget');
var labels = document.getElementsByTagName('LABEL');
for (var i = 0; i < labels.length; i++) {
if (labels[i].innerHTML.trim() == 'Tell us how we did') {
var questionId = labels[i].htmlFor;
}
}
for (i = 0; i < imageRadios.length; i++) {
if (imageRadios[i].name == questionId) {
var element = imageRadios[i];
var elemId = element.id;
var perPos = elemId.indexOf('.', 65);
elemId = elemId.substring(0, perPos);
var finalElem = elemId + '.' + scale;
g_form.checkRadioButton(finalElem);
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2020 08:13 AM
Thanks for this Sam, it is extremely useful.
I would like to add this suggestion for anyone who wishes to avoid modify the existing UI page assessment_take2, and instead create a copy of it, as I have been told is best practice.
In the email script, you may use AssessmentUtils().getAssessmentInstanceURL(current.sys_id) to generate the link to the UI page. In this case, it should be noted, you should make sure that the system property "sn_portal_surveys.sp_survey.email_redirection" is set to false. If you do this, and if you have created a copy of the assessment_take2 UI page with the name your_prefix_assessment_take2, you can generate and modify the link as shown below:
var url = new AssessmentUtils().getAssessmentInstanceURL(current.sys_id);
url = url.substring(0,url.indexOf("assessment_take2"))+ "your_prefix" + url.substring(url.indexOf("assessment_take2"));
I know this is not directly related to the topic of this post, but thought it would be worth sharing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2016 11:26 AM
I didn't know my original question would be so popular, I hope ServiceNow adds this as some native feature in the near future. Thanks for all your feedback Sam!