Solved

Pass Form Varibles to Intermediate Page Before Redirecting

Posted on 2013-07-01
3
309 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MySQL limit and not so limited 13 62
PHP Web Development 6 69
Can't find an open element in HTML 5 53
Prestashop modules custimzation 2 28
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
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 dynamically set the form action using jQuery.

739 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