Solved
Text entry box like a tweet
Hi,
I would like to have participants complete a tweet that ends by #...
Ideally I would like to have the same box as on Twitter when you enter a post, with just a #... static at the end of the post
Alternatively I would like to have just a box with #... at the end
Any ideas ?
Best answer by Anonymous
Hello @Clin ,
Paste the following code in the js(onReady) of Text entry question
jQuery("[id='QR~"+this.questionId+"']").val("#xxx");
jQuery("[id='QR~"+this.questionId+"']").keyup(function(){
var k=jQuery(this).val().replace(/#xxx/g, "");
jQuery(this).val(k+"#xxx");
});
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
