Redirect with user dropdown content

wclkw - May 30, 2008 - 05:38
Project:Prepopulate
Version:5.x-1.3
Component:Documentation
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

Nice module. It's working fine if I type the following url in my browser address bar.
"http://localhost/sports/node/add/scoreboard?edit=[field_game][key]=futsal"
I have a page type with dropdownlist, I use drupal_redirect_form(null,'node/add/scoreboard?edit=[field_game][key]='.$_POST["game"]); to redirect to scoreboard page with game value passing, however it goes to the following url
"http://localhost/sportsarena/node/add/scoreboard%3Fedit%5Bfield_game%5D%5Bkey%5D%3Dfutsal" and just display the node/add page instead of the scoreboard page.
How can I redirect to node/add/scoreboard page with dropdown list selected by user. Thanks in advance.

 
 

Drupal is a registered trademark of Dries Buytaert.