Thanks. That seems to work. Not sure why the other did not, but moving the location of the function seems to do the trick.
-----Original Message----- From: Justin Scott [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 12:47 AM To: CF-Talk Subject: Re: Problem with form submittal You might create a function in the navigation area that the span calls instead. This function would replicate the onsubmit code, as well as the submit code if the checkrequired returns ok. -Justin Scott, Lead Developer Sceiron Internet Services, Inc. http://www.sceiron.com ----- Original Message ----- From: "Constanty DeCinko III" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, June 03, 2002 2:29 AM Subject: Problem with form submittal > I have the following code in a navigation frame that submits a form in > another frame: > > <span tabIndex="5" ACCESSKEY="s" style="text-decoration:none; cursor:hand" > onfocus="parent.FormDetail.main.submit()"><font > color="#FFFFFF"><strong><u>S</u>ubmit Order</strong></font></span> > > > The problem is, the onSubmit of the form is being ignored: > > <form action="CompleteOrder.cfm" method="post" name="main" id="main" > onSubmit="return CheckRequired()"> > > > Is there anyway to get the span above to act exactly like clicking a submit > button on the form? > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

