Hi Rebecca,

Try a more simple form as an example: select_batch_import.php uses a hidden form element and checks for it in the POST data. 

    if (@$HTTP_POST_VARS["cat"] == "submit") {
        $wftpl = $wfstatus->getvar('template');
        if ( !empty($HTTP_POST_VARS['directory'])) {
            $wfstatus->assign('batch_directory', $_POST['directory']);
        }
        $wfstatus->setCreatedPid($pid);
    }
    $wfstatus->checkStateChange();

The checkStateChange call moves to the next page in the workflow.  You can assign values to arbitrary variables to be used later with the assign() and getvar() methods on the workflow status object.

Matt

On 6/16/07, Rebecca Sutton Koeser <rebecca.s.koeser@emory.edu> wrote:
I'm trying to add a new workflow step that will have a very simple
form-- but I can't figure out how forms are processed in Fez's
workflow.

It looks like, by default, the form is setup to submit back to the
same page?  How does it handle the data submitted by the form and step
through to the next phase of the workflow?

I know that the enter/edit metadata steps are doing something this,
but those are pretty complicated and I'm not sure which parts are
relevant to what I'm trying to do.

If someone could point me to the right parts of the code or give some
suggestions, I'd appreciate it.

Thanks.


--
Rebecca Sutton Koeser, Ph.D.
rebecca.s.koeser@emory.edu


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFGcu3n2wP7Byh4FYsRAvu3AKCZhMzgkCt35Wwg+oQHj1XxdvFgTQCfdhuZ
EKS3rvOHVQhB+piginddvkE=
=9YDd
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fez-developers mailing list
Fez-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fez-developers