public final class VFilled extends FieldValidator
Constructor and Description |
---|
VFilled(Field field,
java.lang.String errorMessage)
Creates a new validator that fails validation if the fields
is not filled out by the user.
|
Modifier and Type | Method and Description |
---|---|
boolean |
validate(FormData fd,
HttpServletRequest req)
Validates a field's value to be isFilled.
|
getErrorMessage, getField
public boolean validate(FormData fd, HttpServletRequest req)
validate
in class FieldValidator