Hello Rui! If you're using form.showForm, you can access the form variables through
var model = form.getModel(); var myFieldValue = model.somefield; Based on myFieldValue you can use flow to decide which following form needs to be shown. If you need more info, take a look at the Wiki at http://wiki.apache.org/cocoon. Regards, Ulf Sahlin > -----Ursprungligt meddelande----- > FrÃn: Rui Alberto L. GonÃalves [mailto:[EMAIL PROTECTED] > Skickat: den 7 september 2004 12:18 > Till: [EMAIL PROTECTED] > Ãmne: cforms and flow examples > > > Hi all, > I just started using cocoon forms, so be gentle. I need to create > some pages to display in a sequence, "wizard like". > > The first page is presented to the client, and based on the choose, > the second page is displayed, and so on... > At the end, I need to have all the variables available for further > processing. > > Looking into the examples I'm successfully displaying the first > form. But now I'm having serious difficulties to find out how: > > 1) decide witch page should be displayed in next step, because > I don't know how to retrieve the previous form values. > > Does anyone know where I can find documentation/examples about this > topics that illustrate a similar problem? > > Thanks to all for any help, > > Rui > > > -- > Rui Alberto L. GonÃalves <[EMAIL PROTECTED]> > PT InovaÃÃo > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]