Solved

Pass Form Varibles to Intermediate Page Before Redirecting

Posted on 2013-07-01
3
305 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Consider the following scenario: You are working on a website and make something great - something that lets the server work with information submitted by your users. This could be anything, from a simple guestbook to a e-Money solution. But what…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

937 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

4 Experts available now in Live!

Get 1:1 Help Now