Placeholder Text (Creating Survey) | XM Community
Skip to main content

Hi Guys,
When creating a survey has anyone created a placeholder text using java script. I know we have a feature called form we can use but the text is placed outside.

Thanks

Use this code:
jQuery("#"+this.questionId+ " .InputText").attr("placeholder","TXT GOES HERE");
Check this for more detailed answer.


Leave a Reply