Created
November 8, 2013 17:02
-
-
Save wboykinm/7374155 to your computer and use it in GitHub Desktop.
Google forms redirection
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--ADD THE FORM RESPONSE ACTION HERE, WITH A REDIRECT--> | |
<script type="text/javascript">var submitted=false;</script> | |
<iframe name="hidden_iframe" id="hidden_iframe" style="display:none;" onload="if(submitted) {window.location='http://cdb.io/1be11H7';}"></iframe> | |
<form action="https://docs.google.com/forms/d/17EeoLaAVeGrLYhOGyvy7-jC9ukc90F-UvrAMz_x_LUA/formResponse" method="POST" id="ss-form" target="hidden_iframe" onsubmit="submitted=true;"> | |
I found this redirection code to work well when added to a template file I'd created within a wordpress site - just what was needed as the Google Forms plug-in does not work with the new version of Google forms and the old version is being withdrawn on 22 August 2018!
Many thanks wboykinm.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this dosent work ...?