I'm not sure what your end goal is here (nor how a form would display if not as the result of a callback), but it sounds like you may want to use drupal_get_form instead. drupal_execute is for submitting form values programatically, not displaying the form.
See: http://api.drupal.org/api/function/drupal_get_form/6 http://api.drupal.org/api/function/drupal_execute/6 Best, Ezra -- Ezra Barnett Gildesgame | http://growingventuresolutions.com | http://ezra-g.com On Thu, Oct 22, 2009 at 1:32 PM, Jeff Greenberg <[email protected]> wrote: > I can't get this form to programatically display (not part of any callback) > and wait for a submission. > > > I call it, and it fires the function that creates the form array, but I > never see the form unless I put 'exit' after it. > > > When using drupal_execute, is the 'values' array of $form_state required, > with each field named? My $form_state array is empty. I didn't think I > needed the enumerated 'values' array because I assumed (yes, I know...) that > the #default entries in the form elements accomplish what I need. > >
