Skip to content Skip to sidebar Skip to footer

Qualtrics: Automatic Blinking Cursor (focus) Does Not Work On Jfe, Only On Se Surveybuilder

This has been an ongoing issue for me with my Qualtrics survey, where I need an automatic blinking cursor to appear in a textbox as soon as the page/question appears. It works flaw

Solution 1:

This works fine for me in jfe to focus on the first text input in a question:

Qualtrics.SurveyEngine.addOnload(function() {
    $(this.questionId).down('.InputText').focus();
});

EDIT: Deferring execution might help with conflicts either with page transition or other scripts:

Qualtrics.SurveyEngine.addOnload(function() {
    $(this.questionId).down('.InputText').focus().defer();
});

Post a Comment for "Qualtrics: Automatic Blinking Cursor (focus) Does Not Work On Jfe, Only On Se Surveybuilder"