SurveyGizmo's CustomScript Action now supports the LUA programming language.
Legacy Custom Scripting Language Deprecation Plans
New accounts (created after October 29, 2018) will only have the option to use Lua in scripts.
As of October 29, 2018 Custom Scripting Actions will default to Lua as the scripting type in the Custom Scripting Action for accounts created before this date. You will be able to switch to the Legacy Custom Scripting; though we highly encourage using Lua.
In the long term, Legacy Custom Scripting Actions will be switched to read-only. Read-only scripts will continue to function; you will just be prevented from editing. The exact date on this is to be determined; we will send notifications well ahead of time.
While SurveyGizmo is one of the most flexible survey tools around, we get requests for customizations that are not available out of the box. This is where JavaScript and Custom Scripting can save the day. If you have scripting chops you can use the JavaScript action or the Custom Scripting action to achieve the survey of your dreams.
Are you looking to better understand the usability of a system? The System Usability Scale (SUS) is the most used questionnaire for measuring perceptions of usability. It is technology independent and can be used to measure the usability of hardware, software, websites, cell phones, etc.[1]
While we don't have an out-of-the-box SUS question we scripted a solution so we can track the SUS score of Alchemer and we thought we would share it so you can do it too!
The easiest way to get started with a SUS question is to download the survey above. If you really like building survey questions, though, follow the steps below.
Enter your question text. We recommend something like "Based on your experience using this system, please indicate whether you agree or disagree with the following statements:"
Your column headers should be on a scale from one to five (1 - 5). You can add labels to these columns, such as Strongly Disagree, etc, but make sure that the column reporting values are only numerical (1 - 5).
Enter the following row headers:
I think that I would like to use this system frequently.
I found the system to be simple.
I thought the system was easy to use.
I think that I could use the system without the support of a technical person.
I found the various functions in the system were well integrated.
I thought there was a lot of consistency in the system.
I would imagine that most people would learn to use the system very quickly.
I found the system very intuitive.
I felt very confident using the system.
I could use the system without having to learn anything new.
This solution uses the All-Positive SUS question as discussed in this article: http://www.measuringu.com/positive-negative.php. If you wish to use the alternating scale you will need to modify the JavaScript to account for this.
On the Layout tab of the Radio Button Grid question, add a CSS Class Nameselector.
Add a JavaScript action on the same page as your SUS question and copy and paste the below JavaScript.
$(document).ready(function(){
//add data values to columns
$(".selector table tbody tr").each(function(){
var i = 0;
$("input", $(this)).each(function(){
$(this).data("amount", i);
i++;
})
})
$(".sg-survey-form").submit(function(e){
//get scores
var total = 0;
$(".selector table tbody tr input:checked").each(function(){
total = total + $(this).data("amount") ;
})
total = total * 2.5;
$(".score .sg-input-text").val(total);
})
});
Add a Number question to follow the JavaScript action. This is where you will store the SUS Score that is computed with the above JavaScript.
On the Layout tab of the Number question, add the following classes to the CSS Class Name field: score sg-hide.
The first class (score) is used in the JavaScript for storing the score calculation.
The second class (sg-hide) is used to hide the score from displaying to the respondent; if necessary, you can remove this class so that you can see the score when testing your survey.
Reporting
In the Standard Report, the score will report as a Histogram.
This solution uses the All-Positive SUS question as discussed in this article: http://www.measuringu.com/positive-negative.php. If you wish to use the alternating scale you will need to modify the JavaScript to account for this.