I see what you mean, maybe some kind of a "isformok" hidden parameter, that
is checked on the onsubmit attribute of form tag.

You use it with a onclick method on buttons that fills this attribute to
true if ok, false otherwise, so if your specific button doesn't fill the
hidden parameter to true, the checkform method will return false, ans the
form won't be submitted ?

sophy a �crit :

> It can work if jsp has only one button or the buttons in jsp
> have the same check rule. But in my jsp, there are several
> buttons  and their check rule are not  similar.
> For example, there is a button in jsp for displaying  in the
> same jsp another part which has a button to be checked. Under
> this case, it is not  proper  to  put javascript:oncheck to
> form tag. Any better   techniques?
>
> sophy


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

Reply via email to