I'm trying to edit a script to send submitters info to the spreadsheet but also sends them to a thank you page in my site. here's the script I've been using that doesn't work:


<div class="ss-form"><script type="text/javascript">var
submitted=false;</script>
<iframe name="hidden_iframe" id="hidden_iframe"
style="display:none;" onload="if(submitted)
{window.location='http://blissfullthinking.com/diggingdeep
/newsurveyConfirm.html';}"></iframe>
<form action="http://spreadsheets.google.com/formresponse
?key=tHqyLzfBaePCdCRFfbGT3pA&amp;embedded=true"
method="post"
target="hidden_iframe" onsubmit="submitted=true;">

anybody have a clue?