- Posts: 74
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
$(document).ready(function() { var keyWord = 'expired'; if($('#tokenmessage').length > 0 && $('#tokenmessage').text().indexOf(keyWord) !== -1) { var newMessage = '<p style="text-align:center">\ A custom paragraph...\ </p>\ <p style="text-align:center">\ And, another custom paragraph...\ </p>'; $('#tokenmessage').html(newMessage); } });
With a broader scope in mind (and a few years old):tammo wrote: As far as I know this is not possible at the moment. I can see the value of it: please make a feature request