- Posts: 6
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ $('#limesurvey').on('submit', function(e) { top.document.getElementById("myiframe").style.display="none"; }); }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
since we need it only after submit : why not, in end text contentSince there should be no cross-domain issues, try this in the source of a question in the last survey group. (but test that the survey actually submits)
<script> top.document.getElementById("myiframe").style.display="none"; </script>
$(document).on('survey:submitted', function() { // hide, remove, replace iframe });
window.parent.$(window.parent.document).trigger('survey:submitted');
Please Log in to join the conversation.