If they keep hitting that same page until everything is complete, how about
having a checkbox at the bottom "form_complete"
in that page, you could have
<CFIF NOT #isDefined("form_complete")#>
<FORM action="thispage.cfm" method="post">
<CFELSE>
<FORM action="nexpage.cfm" method="post">
</CFIF>
<table>
all the stuff
<input type="submit" value="submit">
</FROM>
I'm sure there are other ways to accomplish, this just came to mind
Shane
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, May 12, 2000 10:39 AM
To: [EMAIL PROTECTED]
Subject: 2 submit buttons on 1 form.
Hello,
I have a form that has two submit buttons on the same form. The first
submit button updates the form by posting information to that same page.
The second submit button passes that information to the next form in the
series.
The reason I want the first button is that I want the user to select a
variable number of items to update. Once they click update, the information
adds itself to the form, and creates a new set of empty form elements.
The problem I am running into, is that I can get both of these functions to
work independently, but once I put them together I cannot get one of the
submit buttons to work. Only the first button on the page works.
My question is, how can I have two form submit buttons that submit to 2
different pages on one page? Any help is appreciated.
Jonathan Garstin
Software Engineer
Tektronix Inc
[EMAIL PROTECTED]
503-627-1994
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.