Chart at end of survey

Sometimes you will be asked to show a graph at the end of a survey showing the count or percents for a particular question. I guess this is a bit like a web poll, you are asked to vote on something and then after you have placed your vote you see a graph of the results. This is easily done in mrInterview and this article shows you how you can achieve this.

Read moreChart at end of survey

Redirect at the end of a survey

Use

IOM.Texts.EndOfInterview

and

IOM.Texts.EndOfInterview

to setup text to be displayed to the respondent after the interview has completed or when it has stopped.  These can also be used to setup a redirect.

You can use a REFRESH meta tag as the text to force a redirect.  For example, the following would redirect to this blog when the interview completes.

IOM.Texts.EndOfInterview = "<meta http-equiv='REFRESH' content='0; URL=https://www.SmarterDatacolection.com' />"

Setup different texts for

IOM.Texts.InterviewStopped

to redirect respondents differently based on the interview.  For example, you might redirect respondents that failed quota to another survey or redirect respondents who answered a particular question to a particular page.

If you need to include an ampersand in your URL, then use the

&amp;

construct for getting the & past the HTML validator in the HTML player.  If you forget and use just &, you will see the HTML for the URL on your end page, rather than being redirected.ode

Report at end

At some stage you may be asked to produce a report at the end of the survey to allow the user to print off or just view their answers to the questions they selected. Now there are many ways this can be achieved but in this example we will show you a simple way of doing this. And once you have this structure it could be taken further. What we will do is to create a survey, collect an email address and then send the respondent an email with their survey responses in html format in the email, after viewing them on the screen. We will not cover the send email bit in this example, but you can see how to do this in another article on this website.

Read moreReport at end

How do I loop the complex questions

You have been working on looping through your MDD for a while now and your code is almost complete, you have a few things left on your list to resolve, one of them is “How do i loop the complex questions”. This article explains how to do this and hopefully shows you some very useful concepts that can be re-used.

Read moreHow do I loop the complex questions

How can I get the text for a category

You have been working on looping through your MDD for a while now and your

 is almost complete, you have a few things left on your list to resolve, one of them is "Response.value returns a category number rather than the text, how , how can I get the response text". This article explains how to resolve this and hopefully shows you some very useful concepts that can be re-used.

Read moreHow can I get the text for a category

Avoid Incrementing Quotas When Reviewing Interviews

Reviewing an interview causes the interview to be re-executed.  This can cause quotas to be incremented if the interview and sample management scripts do not take this into account.  The DDL example interviewing and sample management scripts for quota show how to avoid extra quota increments and should be used as a base.

Read moreAvoid Incrementing Quotas When Reviewing Interviews

Email from survey

To send a email from your survey is easy to implement as long as your network allows. In this example we will use IIS and SMTP but you should be able to use other email servers.  Once the software is setup you can start. The first thing we need in our survey is a text box to collect the email address, so create a mdd with the following code in it.

Read moreEmail from survey

Help Window

Sometimes in your surveys you will want to offer your users some additional help, now you could just put it on the page but you might not have enough space for it so it is a good idea to add some sort of help icon that the user can click on to open up another window and display the help. In this example we show you have to achieve this functionality.

Read moreHelp Window

Participants Tips

Have you ever imported a file into Participants and gotten “Attempting to insert data that does not have a corresponding column.” or “String or binary data would be truncated.”?  This post will explain how to avoid these errors by checking and fixing your Participants file manually before importing.  We will first describe the manual method using Excel and then provide a Dimensions script that can also be used to fix these issues.

Read moreParticipants Tips

%d bloggers like this: