> The real problem is that there won't always be
> a form to submit. Or in some cases there will
> be a form, but I won't want to automatically
> submit it before going to the next tab.

On the pages which don't have visible forms, there's nothing wrong with
having a form with no visible fields (except the buttons).
I have done the same thing in fusebox with a wizard-type form, where users
can go backwards and forwards to their hearts content. The basic idea is
this:

In the App_locals for the fuse, initialise every form var:

<CFParam Name="Attributes.Value1" Default="">

plus create a string which lists all fields which need to be completed to
finish the wizard, this can then be checked against the values before
displaying each form so that you can create a 'Finish' button when ready.

So on every page within the wizard add a form with all those hidden fields.
Convert any links to buttons or Image buttons, that way you can pass the
correct fuseaction.

Of course if its massive you might want to go for the session variable
option, or cookies, or whatever.

Taz


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to