Solved

Pass Form Varibles to Intermediate Page Before Redirecting

Posted on 2013-07-01
3
306 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
ID: 39290644
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
ID: 39293746
You can add form elements to the page and have them be hidden.
0
 
LVL 1

Accepted Solution

by:
mattwebdev earned 500 total points
ID: 39331914
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

770 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