Into the "completed" textarea* (=message displayed when survey is submited), you can add any kind of links, buttons etc.
Some valid examples (using {SID} placeholder to retrieve the survey ID dynamically ):
1) Share via e-mail:
Code:
<script language="javascript">
function mailpage()
{
mail_str = "mailto:?subject= Check out this survey";
mail_str += "&body= I thought you might be interested in this.%0A";
mail_str += "You can view it at: %0A https://yourdomain.tld/index.php/survey/index/sid/{SID}/newtest/Y/ %0A"
location.href = mail_str;
}
</script>
<!-- plain text link or button -->
<a href="javascript:mailpage()">Share with a friend</a>
2) twitter button:
Code:
<a href="https://twitter.com/share" class="twitter-share-button" data-lang="en" data-text=" Lorem ipsum dolor sit amet, consectetur adipiscing elit, set eiusmod tempor incidunt et labore et dolore magna aliquam. Ut enim ad minim veniam, quis nostrud exerc" data-count="none" data-url="https://example.com/index.php/survey/index/sid/{SID}/newtest/Y/">Tweet</a>
<script type="text/javascript" src="https://platform.twitter.com/widgets.js"></script>