Hmm.  Is it throwing an error, or just not working?

You might need to refer to the form by
document.forms[0].
rather than
document.formname.

I seem to recall having some trouble out of IE with DOM names.  :-(



  --Ben Doom
    Programmer & General Lackey
    Moonbow Software

: -----Original Message-----
: From: Luce, Greg [mailto:[EMAIL PROTECTED]]
: Sent: Monday, November 18, 2002 12:34 PM
: To: CF-Talk
: Subject: RE: Multiple Form Submitters?
:
:
: Yeah, I have a hidden form field called "done". And I'm only worried about
: IE. I'm using 6.0
:
:
: -----Original Message-----
: From: Ben Doom [mailto:[EMAIL PROTECTED]]
: Sent: Monday, November 18, 2002 12:29 PM
: To: CF-Talk
: Subject: RE: Multiple Form Submitters?
:
:
: Is it safe to assume that your form name is 'profile2' and you
: have a input
: type=hidden named 'done'?
:
: Also, what browsers are you testing this in, and is it failing in all of
: them, or just one (I've noticed differences in how Mozilla and IE6 treat
: names vs. ids).
:
:
:
:   --Ben Doom
:     Programmer & General Lackey
:     Moonbow Software
:
: : -----Original Message-----
: : From: Luce, Greg [mailto:[EMAIL PROTECTED]]
: : Sent: Monday, November 18, 2002 12:11 PM
: : To: CF-Talk
: : Subject: Multiple Form Submitters?
: :
: :
: : 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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to