Display the Comment Field Above the Question

By default, Comment Fields will display below the question they are added to. This script will display a comment field above a question.

Check it out this script in an example survey!

OR

Add a survey with this script to your account.

Setup

Copy and paste the below script in a JavaScript Action beneath the question.

//add the css class name "movecomments" to the question

$SG(document).ready(function(){
  var comments = $SG(".movecomments .sg-comment");
  $SG(".movecomments .sg-question-options").prepend(comments);
});

Add movecomments as a CSS Class Name to the question(s) for which you wish to move comments above the question.

Scripting and Other Custom Solutions

We’re always happy to help you debug any documented script that is used as is. That said, we do not have the resources to write scripts on demand or to debug a customized script.

If you have customization ideas that you haven't figured out how to tackle, we're happy to be a sounding board for Alchemer features and functionality ideas that might meet your needs. Beyond this, check out our Professional Services; these folks have the scripting chops to help you to achieve what you are looking for!

Basic Standard Market Research HR Professional Full Access Reporting
Free Individual Team & Enterprise
Feature Included In