How can we set a response to a text question using JS?
Page 1 / 1
I have tried using below code but it's not working.
var questionId = this.questionId;
questionID.setChoiceValue(1,z.toString());
var questionId = this.questionId;
questionID.setChoiceValue(1,z.toString());
Hello @salimlko ,
Paste the below code in the js(onReady) of the text question
`jQuery("#"+this.questionId+" .InputText").val("Response to text question");`
Paste the below code in the js(onReady) of the text question
`jQuery("#"+this.questionId+" .InputText").val("Response to text question");`
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.