Class MatchesFieldValidator

All Implemented Interfaces:
HasHandlers

public class MatchesFieldValidator extends Validator
Tests whether the value for this field matches the value of some other field. The field to compare against is specified via the otherField property on the validator object (should be set to a field name). Note this validator type is only supported for items being edited within a DynamicForm - it cannot be applied to a ListGrid field.
  • Constructor Details

    • MatchesFieldValidator

      public MatchesFieldValidator()
  • Method Details

    • setOtherField

      public void setOtherField(String otherField)
      Set the otherField.
      Parameters:
      otherField - the otherField
    • getOtherField

      public String getOtherField()
      Return the otherField.
      Returns:
      the otherField