good day to all,
i using <hmtl:link> to forward to another page as follow
however, i would like to check all other form fields and make sure no blank data is in these fields , so when onClick, "doForward()" will check the completeness, if some fields is not filled in , then the action "measure_predetail2" will not execute
here are the javascript function, if doCheckcomplete return true, it will execute the action else it doesn't
but it seem doesn't work well here , when the fields is filled then it will forward to next page, when not fill in the fields, it will call the form action instead, what i need is if no fill in, then the page do nothing and remain static with some error msg,
how to let the page not call any action(specially for form action) when client validation is fail ?
note : measure_predetail2.do will forward current page to next page
thank you for enlighten
[ November 12, 2006: Message edited by: Nakata kokuyo ]