Ask the community, share ideas, and connect with other LimeSurvey users!
Since the JavaScript code depends on the HTML structure and thus on the template, that is probably the reason this is not working.DOwen wrote: I've tried this with array questions to test it (as well as other question types) but cannot get it to work. Whether I put the scipt inside the .JS file or the question/group description
<script type="text/javascript"> $(document).ready(function() { $( "<style type='text/css'>" + "#question{QID} { border:none; font-size:120%}" +"</style>").appendTo( "head" ); }); </script>
Though there are no JavaScript errors the structure of your survey HTML seems to differ so the JavaScript can't access the needed elements.DOwen wrote: The survey should now be public so you can check it out. (May take 10 mins as of this email)
Mazi wrote:
Though there are no JavaScript errors the structure of your survey HTML seems to differ so the JavaScript can't access the needed elements.DOwen wrote: The survey should now be public so you can check it out. (May take 10 mins as of this email)
Check the JS and compare the elements it deals with step by step. I assume due to different HTML elements the script doesn't trigger the correct elements.