Placeholder Text (Creating Survey) | XM Community
Solved

Placeholder Text (Creating Survey)

  • 4 August 2020
  • 1 reply
  • 311 views

Badge

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

icon

Best answer by rondev 4 August 2020, 22:55

View original

1 reply

Userlevel 7
Badge +22

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

Leave a Reply