Marc, thanks for looking into it,
When I add "required, depends="required,double", only the rquired is validated on client-side, I can input none double characters with no error msg appears. (But I saw server-side validation msg saying required double this time). This also means there is no mistakes in case, spell.
The depends="required, integer" validate both required and integer on client-side.
So why the double can not be validated on client-side?
Surprisingly, I saw many validation functions such as maxlength, integer,...on my
jsp page source view, but I couldn't see the double, validwhen function.
Wayne
--