check on html source, found it as below line 820(bold)
jsp page (note that this is simplify version and i using image button to forward):
anyone can spot what mistake i make ? thank you very much for guidance [ January 27, 2007: Message edited by: Nakata kokuyo ]
The problem is your use of "this". When you call a function from an event, "this" refers to the control to which the event is attached. So, if you refer to "this" within an onsubmit event of a form tag, "this" refers to the form.
However, if you use "this" within a function as you have done, "this" refers to the function, not the form. That's why it causes problems when passed as a parameter to the validator fuctions. If you change the statement
It should work.
One other observation: Everything after the above statement in the doForward function is unreachable code. I'm sure that's not what you intended. [ January 27, 2007: Message edited by: Merrill Higginson ]