Interface I_CmsFormValidator

All Known Implementing Classes:
CmsDefaultFormValidator

public interface I_CmsFormValidator
Interface for handling the server-side validation of a whole form.

Since:
8.0.0
  • Method Details

    • validate

      Validates the form and returns the validation result.

      Implementations of this interface may or may not use the validators in the validation queries passed as an argument.

      Parameters:
      cms - the CMS context
      queries - the validation queries for the form fields, indexed by form field key
      values - the form field values
      config - the configuration for the form validator
      Returns:
      a map of the validation results, indexed by form field key
      Throws:
      Exception - if something goes wrong