Class VConditional

java.lang.Object
fc.web.forms.FormValidator
fc.web.forms.VConditional
Direct Known Subclasses:
VFilledOnChoice, VFilledOnFilled

public abstract class VConditional extends FormValidator
Validates that certain conditions in one or more fields in the form require other conditions of some other fields in that form.

Since the pre/post conditions can be arbitrary, this class defines abstract methods called preConditionMet(FormData, HttpServletRequest) and postConditionMet(FormData, HttpServletRequest). If the pre condition is true, the post condition must also be true. Subclasses should implement both methods as appropriate.