Could you please tell me is it possible to change default text for my own one in screen with token request? In which way? Screenshot is in attachement.
Yes, I know. But that won't change my answer. Since Limesurvey fetches the text from these language file it makes no difference.
The Limesurvey developer are not into typical customizing or overriding of such default messages. I would also like to see overriding fields which would allow to customize messages per survey without such tweaking.
A JavaScript solution - add the following to the end of template.js:
Code:
$(document).ready(function() {
// Define the new message
var newMessage1 = 'This is the new text to appear on the token-entry screen.';
var newMessage2 = 'This is the new text to appear on the token-fail screen.';
// Insert the new message
if($('#tokenmessage').length > 0) {
if($('#tokenform').length > 0) {
$('#tokenmessage').html(newMessage1);
}
else {
$('#tokenmessage').html(newMessage2);
}
}
});
Cheers,
Tony Partner Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.