- Posts: 38
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
$(document).ready(function() { // Define the new message var newMessage = 'We are sorry but you are not allowed to enter this survey.<br><br>\ This invitation has already been used.<br><br>\ It looks as though you’ve recently completed the survey and provided your feedback. Unfortunately, we’re only able to accept one survey per applicant.'; // Insert the new message (only if the token form is missing) if($('#tokenmessage').length > 0 && $('#tokenform').length == 0) { $('#tokenmessage').html(newMessage); } });