Posted by Tom
2014-03-06
Hi Delio,
>I need to store the answer and use the 'vote' button to go to another webpage.
Open web/(poll-name)/tpl.result.inc.php and put the following code at the top of the file.
>I need to store the answer and use the 'vote' button to go to another webpage.
Open web/(poll-name)/tpl.result.inc.php and put the following code at the top of the file.
<script>The script will take you to www.google.com when you click the vote button. Please replace "http://www.google.com/" with any url you want.
window.location = "http://www.google.com/";
</script>
<?php return; ?>
I have a question, can I avoid to show results? I need to store the answer and use the 'vote' button to go to another webpage. Is it possible?
Thank you!