Toby, im pretty sure submitting a form programmatically bypasses the onSubmit event handler.
What i suggest you do is remove the onSubmit event handler from the FORM tag, then create a single javascript function to handle your form validation. Use a regular link which (onClick) triggers your form validation function. If it passes, do a submit() else alert() the user. Or, you could do what i would do... leave the previous (working) code in place and use CSS to style the submit button to look just like any other link on your page :) ____________________________ James Silva Web Production Gruden Pty Ltd Tel: +61 02 9956 6388 Fax: +61 02 9956 8433 Email: [EMAIL PROTECTED] Web: http://www.gruden.com ____________________________ --- 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/
