How to change the color of answered text to black? | XM Community
Skip to main content

I have a few questions, whose answers are in an essay format. When a participant enters text in that box, it appears grey. How to change the color of answered text to black?

Use the below code:
jQuery("#"+this.questionId+" textarea, #"+this.questionId+" input[type='text']").css("color","#000");


I tried using this in the custom CSS but the color stays grey.


Use it in the text entry question, under "Add javascript" option add the above code in Onready function.