Hi James,

yeah I realised that was what was happening.  What I've been trying to
find (possibly in vain ;) ) is a way to get it done without having to
set it up the way you describe, as it means adding a forced method of
submission / validation for these wizards, which is something I was hoping to
avoid.  If I can't find a solution it will just have to go that way
(and at the moment that's what I'm doing) it just annoys my sense of
elegance ;)

cheers,
Toby

Friday, October 3, 2003, 12:33:54 PM, you wrote:

JS> Like i said, using submit() will override the onSubmit event handler...

JS> It wont matter that the function being triggered returns "false". The form
JS> will submit regardless.

JS> You need to move the submit() call from the link into the function as part
JS> of its condition logic.

JS> Oh, and ditch the onsubmit handler on the form tag. The function should be
JS> triggered from the link's onclick event handler.
JS> ____________________________
JS> James Silva
JS> Web Production
JS> Gruden Pty Ltd

JS> Tel:   +61 02 9956 6388
JS> Fax:   +61 02 9956 8433
JS> Email: [EMAIL PROTECTED]
JS> Web:   http://www.gruden.com
JS> ____________________________


JS> -----Original Message-----
JS> From: [EMAIL PROTECTED]
JS> [mailto:[EMAIL PROTECTED] Behalf Of Toby
JS> Tremayne
JS> Sent: Friday, October 03, 2003 12:34 PM
JS> To: CFAussie Mailing List
JS> Subject: [cfaussie] RE: OT: javascript weirdness


JS> Hi James,

JS>    aye that's what I thought the first time, but when I do this, then
JS>    even though the checkClientInfo() function executes, finds an
JS>    error and returns false - the darn thing still submits!

JS> cheers,
JS> Toby

JS> Friday, October 3, 2003, 12:16:55 PM, you wrote:

JS>> The void(0); is most likely the party pooper...

JS>> try:

JS>> <a href="#"
JS>>
JS> onClick="javascript:document.forms[0].fuseaction='blah';document.forms[0].su
bmit();">>>Next</a>

JS>> and see what happens.
JS>> ____________________________
JS>> James Silva
JS>> Web Production
JS>> Gruden Pty Ltd

JS>> Tel:   +61 02 9956 6388
JS>> Fax:   +61 02 9956 8433
JS>> Email: [EMAIL PROTECTED]
JS>> Web:   http://www.gruden.com
JS>> ____________________________

JS>> -----Original Message-----
JS>> From: [EMAIL PROTECTED]
JS>> [mailto:[EMAIL PROTECTED] Behalf Of Toby
JS>> Tremayne
JS>> Sent: Friday, October 03, 2003 12:17 PM
JS>> To: CFAussie Mailing List
JS>> Subject: [cfaussie] RE: OT: javascript weirdness


JS>> Hi James,

JS>>    well that's the issue - it *does* call the function - I've tested
JS>>    this umpteen times, and the function gets called and works
JS>>    perfectly.  If I add a second submit() to the function itself then
JS>>    it will submit the form - otherwise it just executes then stops...
JS>>    no errors anywhere.

JS>> cheers,
JS>> Toby


JS>> ---
JS>> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
JS>> To unsubscribe send a blank email to
JS> [EMAIL PROTECTED]

JS>> MX Downunder AsiaPac DevCon - http://mxdu.com/




JS> --------------------------------

JS>        Life is Poetry,
JS>            write it in your own words

JS> --------------------------------

JS> Toby Tremayne
JS> Cold Fusion Developer
JS> Code Poet and Zen Master of the Heavy Sleep
JS> Virtual Tours
JS> +61 416 048 090
JS> ICQ: 13107913


JS> ---
JS> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
JS> To unsubscribe send a blank email to [EMAIL PROTECTED]

JS> MX Downunder AsiaPac DevCon - http://mxdu.com/


JS> ---
JS> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
JS> To unsubscribe send a blank email to [EMAIL PROTECTED]

JS> MX Downunder AsiaPac DevCon - http://mxdu.com/




--------------------------------

       Life is Poetry,
           write it in your own words

--------------------------------

Toby Tremayne
Cold Fusion Developer
Code Poet and Zen Master of the Heavy Sleep
Virtual Tours
+61 416 048 090
ICQ: 13107913


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to