Hi Dave,

Thank you.
You are right.
There is an error in my validateFields() function.
It works now.
The "return true" in onsubmit has nothing to do with my problem.

Vincent

On 6/26/07, Dave Newton <[EMAIL PROTECTED]> wrote:

--- Vincent Lin <[EMAIL PROTECTED]> wrote:
> If you try it in a plain html form, you will know
> the difference. That's really useful to use
> onsubmit="return (validateFields())" in form
> tag,

Um... Yeah, I understand that. What I'm saying is:

onsubmit="return validateFields(); return true;"

will always return the value of the validateFields()
function call; the trailing "return true;" will never
happen.

d.




      
____________________________________________________________________________________
Shape Yahoo! in your own image.  Join our Network Research Panel today!
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to