I need help with this too. The tutorial code (below) also doesn't work.
http://howto.caspio.com/tech-tips-and-articles/advanced-customizations/add-an-option-to-a-public-facing-dropdown/
<script>
window.close();
if (window.opener && !window.opener.closed) {
window.opener.location.reload();
}
</script>
Rather than having 3 Datapages in order to restrict fields and data for 3 different user types, can a script be used to provide "section-level" security?
This would be a lot easier if it were an option in the "Interactive Options" section to allow searches from within the Datapage Report, rather than a second Datapage with virtual fields....passing and receiving parameters.