Jump to content
Sign in to follow this  

Submit Form and Re-direct to another page in Wix

Recommended Posts



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


<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>

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...