struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject Help Validating Accepted/Not Accepted radio buttons
Date Thu, 02 Dec 2004 21:19:01 GMT
I have a form on which the user must accept the terms and conditions when
registering for an account.  This is done with a pair of radio buttons set
to "Y" or "N".  (It defaults to "N".)

What is the best way to set up validation for this field so that if the user
does not change the selection to "Y", the form is re-displayed with an error

How do I validate that a form field is exactly equal to a string?

Wendy Smoak

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message