how to pass field values of a form to next page and how to use them in next page with GET or POST method.After form submission iam redirecting it to next page using drupal_goto().I need to pass field values to next page using dis.Plz anyone kindly help me.

Comments

srikanth.g’s picture

The second argument of drupal_goto() is the query string.
http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_go...

But when you are developing a module,its better to use hooks like hook_form,hook_insert.

vkareh’s picture

Project: Values » Multipage form controller
Version: 6.x-1.0 » 6.x-1.x-dev
Component: Code » Miscellaneous
Assigned: raghuram44 » Unassigned
Category: task » support
Priority: Critical » Normal

This is not a critical issue, nor it's in the relevant module issue queue. I suggest you take a look at the following modules:

Just a note, drupal_goto() will stop the flow of whatever is it that you are doing and is not the recommended way of redirecting after a form submit. Try $form_state['redirect'] in your submit hook.