fc.web.forms
Class VFilled
java.lang.Object
fc.web.forms.FieldValidator
fc.web.forms.VFilled
public final class VFilled
- extends FieldValidator
Validates that the field is filled out by the user.
|
Constructor Summary |
VFilled(Field field,
String errorMessage)
Creates a new validator that fails validation if the fields
is not filled out by the user. |
|
Method Summary |
boolean |
validate(FormData fd,
javax.servlet.http.HttpServletRequest req)
Validates a field's value to be isFilled. |
VFilled
public VFilled(Field field,
String errorMessage)
- Creates a new validator that fails validation if the fields
is not filled out by the user.
validate
public boolean validate(FormData fd,
javax.servlet.http.HttpServletRequest req)
- Validates a field's value to be isFilled.
- Specified by:
validate in class FieldValidator