Hi,
In LS version 2.06 I used to assign INSERTANS to one variable within a javascript snippet in navigator.pstpl file of the survey theme, so that I can read the value across all survey groups. such as
Code:
<script>
$(document).ready(function(){var partOpt='{INSERTANS:314875X257X1549}';if(partOpt =='xxx'){// action if true}else{// action if false}});</script>
currently I am using LS version 5, and using same snippet in custom.js didn't render the right value to partOpt variable. any idea how to apply same code in the new LS version ?
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.