Frederic Gaus wrote:
Just a simple thing .. but I can not find any hint :(

I'm validating a form using the simple-form-vatidation. The Problem is,
the form should only be successfully validated, if the user enables a
checkbox (to agree the licenses).

The Validator can check agains String, long and double... nothing fits
in this case. Also, none of the constrains fits in this case. But I'm
sure there is a possibility to validate checkboxes :)

Shouldn't the browser omit the parameter if not checked (or report "") and report the @value value otherwise? Then you could check for this
string and state that it may not be null.


Chris.

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



Reply via email to