Well we finally bit the bullet and upgraded to version 3.17.0 +190402 and having resolved almost all my issues I have one outstanding that I was hoping that some one could help out on ...
It is a redirect to a different page when the next button is pressed in a question..
Here is the script
$(document).ready(function() {
var idnum={TOKEN:TOKEN};
var url='https://newpage.php?token='+idnum;
$('#ls-button-submit').bind('click', function () {
$(location).attr("href", url);
return false;
});
});
</script>
In debug it says there is an error in the JQuery where whatever the token is is unidentified so if the token was "Bob" it says Bob unidentified ... now this used to work in the older version (2.xx)
Can anyone see where this is going wrong?
Thanks for you help in advance
Dave
Last edit: 5 years 10 months ago by davebostockgmail. Reason: incorrect code
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
The following user(s) said Thank You: davebostockgmail