I do something similar in my wizards, but I always force a submit, depending
what link / button is pressed, I substitute the correct fuseaction to move
to the correct tab. In the pass I passed all of the form variables as hidden
between the various tabs. But now I also use a custom tag CF_wizard by Toby
Tremayne, which stores all the attributes variables in session structures,
and allows you jump around you wizard pages and into nested wizards.
But I found the best way was to force a submit on all pages
Gary
-----Original Message-----
From: Patrick McElhaney [mailto:[EMAIL PROTECTED]]
Sent: 16 May 2001 16:42
To: Fusebox
Subject: Forcing Form Submit When Link is Clicked
I'm attempting to mimic the "tab" style interface
found in GUI apps on the web.
That is, I have several links at the top of the
page that point to various forms. The forms are
used to set different properties of the same
item.
It's basically a wizard, but I can jump to any
point in the wizard at any time. That's easy
enough, I know. Just use javascript to set a
hidden variable in the form to tell me which
tab was selected, submit the form, and at the
end of the submit fuseaction relocate to
the appropriate tab.
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.
I was wondering if anyone has ever dealt with
this type of problem before?
Patrick
----------------------------------
Patrick McElhaney <><
Intranet / Web Site Developer
American City Business Journals
704-973-1019 704-236-8351 (cell)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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