Hi,
I'm new to HTML and was wondering if anyone can point me in the right direction
I have a wix site and have created my own form a HTML widget
The form works OK and uses Google docs to record the information and mail back to me the contents
I am trying to get the form when the submit button is pressed to continue to do as before but then to open another page on my wix site
The snippet of code below works OK when run in Chrome including the re-direct but fail to re-direct when in my wix widget.
Any help greatly appreciated
</head>
<body dir="ltr" class="ss-base-body"><meta itemprop="name" content="Contact 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://google.co.uk';}"></iframe>
<form action="https://docs.google.com/forms/d/1wBXOs4pWPLF9BKKZslPS4-VEQIaYDkaZNYLZTpZKKIg/formResponse" method="post" target="hidden_iframe"
onsubmit="submitted=true;">