"Redirect to another URL" dynamicaly

User 2062767 Photo


Registered User
166 posts

I want my form to redirect to a dynamic URL

For example in the confirm options under the redirect to another URL field I want to enter something like this, using the results from a hidden field:
http://www.domain.co.uk/this_folder/[an_extra_dynamic_bit]/

Has anyone got any idea how I could get this to work? :/
www.heylisflorist.co.uk - My Florist Shop.
www.woodentopstoys.co.uk - My Wooden Toy Shop.

I use CoffeeCup HTML Editor, WIS, Direct ftp, Sitemapper, Website Insite & RED Personal to create my websites.

Send your parcels with Despatch Bay! Signup using this code and get £10.00 worth of free shipping http://despatchbaypro.com/s/1H431
User 2062767 Photo


Registered User
166 posts

Problem solved :D

Just do this:
Instead of putting a URL in the "redirect to another URL" field - put this in the "redirect to custom HTML page" field

<META HTTP-EQUIV="REFRESH" CONTENT="0;http://www.domain.co.uk/this_folder/[an_extra_dynamic_bit]/">
www.heylisflorist.co.uk - My Florist Shop.
www.woodentopstoys.co.uk - My Wooden Toy Shop.

I use CoffeeCup HTML Editor, WIS, Direct ftp, Sitemapper, Website Insite & RED Personal to create my websites.

Send your parcels with Despatch Bay! Signup using this code and get £10.00 worth of free shipping http://despatchbaypro.com/s/1H431
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Thanks for that tip Sue. I will have to test that as I thought the form builder unset all the variables after submitting it.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2716615 Photo


Registered User
23 posts

Actually I just discovered that the session variables are still there! I was looking for '_form_results_' not the session variables individually. Sorry.

So the method linked to above is a good work-around for relative URLs...

redirect to custom HTML page =

<META HTTP-EQUIV="REFRESH" CONTENT="0;MyRelative/URL/etcetc/">

Rob

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.