Solved

Pass Form Varibles to Intermediate Page Before Redirecting

Posted on 2013-07-01
3
302 Views
Last Modified: 2013-07-17
I've got a All For Good form on my Drupal page, when the Visitor submits, I want to take them through an intermediate page, announcing they are leaving the site.

Then the form variables should continue through to the AllForGood site for the final results.

What's the best approach?

(Note: I've tried the Exteranl Link Page module but it doesn't know how to pass form variables)
0
Comment
Question by:sandshakimi
3 Comments
 
LVL 13

Expert Comment

by:Arrow_1
Comment Utility
The best method would likely be to write some javascript to execute when submitting the form. You could provide a modal window in a lightbox displaying a message to the user. Perhaps this module might be a good place to start:
https://drupal.org/project/modal_messages
0
 
LVL 17

Expert Comment

by:nanharbison
Comment Utility
You can add form elements to the page and have them be hidden.
0
 
LVL 1

Accepted Solution

by:
mattwebdev earned 500 total points
Comment Utility
so the best way would be to use hidden inputs which pass through to the intermediate page. then the intermediate page basicly does the same thing, has all the data stored in hidden inputs, when it submits to the data display page all of your data will be there.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now