Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I have a regular Drupal form that is not in a modal. When the user submits the form, a ctools modal popup opens (as per http://drupal.org/node/1482968).

My question is, what is the best method for passing form input to the modal? So that e.g. if the user enters their name ("Alex") in the form, the modal popup can read, "Welcome Alex!" ?

I am using Drupal 7 and the latest stable release of Ctools. (Also, I've asked this question in the ctools issue queue at http://drupal.org/node/1556856, but haven't had a reply in twenty days.) I've been trying to crack this one for a while, so would be incredibly grateful for any help!

share|improve this question

1 Answer

up vote 0 down vote accepted

Ended up just grabbing the passed variables from $_GET.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.