How can I add a static text notice below a text entry box? | XM Community
Skip to main content
Solved

How can I add a static text notice below a text entry box?


I need to add a privacy notice for the respondents below every text entry box.
Would love some help with the code required for that.
Thanks!

Best answer by rondev

Use below code:
var s = "privacy notice text"
jQuery(s).insertAfter("#"+this.questionId+" .InputText");

View original

2 replies

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • 1449 replies
  • Answer
  • April 17, 2020

Use below code:
var s = "privacy notice text"
jQuery(s).insertAfter("#"+this.questionId+" .InputText");


  • Author
  • 1 reply
  • April 17, 2020

Thank you!!


Leave a Reply