Forum OpenACS Development: Re: Form-builder display/edit modes

Collapse
Posted by Jun Yamog on
Hi Ola,

The form builder wizard, well its not actually restricted to forms.  The wizard gives you nice good api to make a series of pages in sequence.  Normally the page contains the forms built by either ad_form or the normal template calls.

You can define the state variables that you want to keep across the steps.  The way it technical does things is this way:

step 1 is a form... it submits the form and it gets processed, if you are using ad_form on_submit may define to tell the wizard to step to the next step, which is step 2.  It then returns a redirect to the next step together with any state variables that was set on the previous steps.