[development] How to pass form values to page that actually does something.
Matt Chapman
matt at ninjitsuweb.com
Mon May 10 18:12:02 UTC 2010
I have a vague recollection of seeing something like this done with a
regular page callback that returns drupal_get_form('your_form') if it
doesn't receive a $form_state (or even check $_POST if necessary to be
unambiguous about the function arguments). If you do have your form
values, output whatever you want like any other callback. Anyway, the
key is moving drupal_get_form out of your menu item, unless I'm just
not getting what you're trying to do.
All the Best,
Matt Chapman
Ninjitsu Web Development
--
The contents of this message should be assumed to be Confidential, and
may not be disclosed without permission of the sender.
On Mon, May 10, 2010 at 9:58 AM, Earnie Boyd
<earnie at users.sourceforge.net> wrote:
> Michael Prasuhn wrote:
>>
>> Add the display bits to your form builder function, and pass the data back
>> with $form_state['storage'] or something like that. This is a basic
>> multi-step form. There are a few examples in Drupal 6 core of this, or just
>> google for "drupal 6 multistep form."
>>
>
> That doesn't work well for multi-page forms. The selection criteria is
> lost.
>
> --
> Earnie
> -- http://progw.com
> -- http://www.for-my-kids.com
>
More information about the development
mailing list