How to add new line in google forms linear scale type question
Below script helps to add a new line in the linear scale type question in google forms. Follow the steps in the video given for more details:
Script :
function addLineBreaks()
{
var form = FormApp.getActiveForm();
// find form items you need
var questions = form.getItems(FormApp.ItemType.SCALE);
for(i = 0; i < questions.length; i++)
{
var title = questions[i].getTitle();
questions[i].setTitle(title.split(". ").join("\n"));
}
}
Comments
Post a Comment