Jump to content

Need help with coding a redirect for Google Forms

Hi guys,

 

I've been struggling to find a way to redirect users who submit my Google Form to a certain web page instead of the standard thank you reply from the form itself. Google doesn't like it very much apparently, as they don't give us a normal option and I can't even find a Forms addon for a redirect, so I'd like to code one myself in the script editor of Google Forms or the code for the iframe in the page itself, but I'm not a programmer and I have no idea how to do this, and a quick Google search only gave me chaos, poor explanations and random snippets of code that I haven't been able to get to work.

 

Can anybody here help me conjure something up or point me into a helpful direction?

 

PS. Please use mostly layman terms, as this whole thing bamboozles me big time. I feel like I'm getting old...

 

PPS. For reference, here's a test form: https://docs.google.com/forms/d/e/1FAIpQLSeqs3Vj6Xj-KduCmSikzdvW0FhWGIcZg7AVTseT2cfcdzeDEA/viewform
And the iframe code: <iframe src="https://docs.google.com/forms/d/e/1FAIpQLSeqs3Vj6Xj-KduCmSikzdvW0FhWGIcZg7AVTseT2cfcdzeDEA/viewform?embedded=true" width="640" height="1200" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>

Link to post
Share on other sites

I might be able to help.

 

What I can think of is to:

1- Create an if statement with PHP.

2- Grab the values and submit them.

3- Then add a header after submitting the values.

 

The header will contain the link to wherever you would like the user to be redirected to.

 

If you would like, I can create a code here and you can copy paste it to your project.

Link to post
Share on other sites

23 hours ago, Julio860JVL said:

I might be able to help.

 

What I can think of is to:

1- Create an if statement with PHP.

2- Grab the values and submit them.

3- Then add a header after submitting the values.

 

The header will contain the link to wherever you would like the user to be redirected to.

 

If you would like, I can create a code here and you can copy paste it to your project.

That would be great, if you would be able to code something real quick!

 

I'm assuming I have to add the php code to the page where I embed my Google Form?

Please let me know where I have to add the code in relation to the embed code for it to work.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×