I have a multipart form that has to become multi-multi-part. ;-( Right now
when I go from Step 1 to Step 2 with a submit button I do db stuff and then
go to step 2. I'm implimenting "paging" links, and I need them to submit the
form also, do db stuff and post back to the original fuseaction. (FB 3) And
also need a button to submit the form and go to Step 3.
What I'm trying to do is have a variable "done", and the paging links would
have "done=N" and the submit button "done=Y". I'm not a javascripter, but
here's what I've got:

<script language="JavaScript" type="text/javascript">
<!--
function done ( selecteddone )
{
  document.profile2.done.value = selecteddone ;
  document.profile2.submit() ;
}
-->
</script>

Here's my Paging link:
<a href="javascript:done('N')" class="bodytextWhite">

And Here's my Submit button:
<a href="javascript:done('Y')">
<img src="images/buttons/next_step.jpg" width="70" height="22"
border="0"></a>

My form's not even submitting. Help?
***Sterling Financial Investment Group, Inc. (SFIG) is a member of
NASD/MSRB/NFA/SIPC.  Email transmissions may be monitored.  SFIG cannot
accept orders to buy or sell via email.  Please visit www.mysterling.com for
more information.***
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to