Show / Hide Table of Contents

Property ElementValidationErrors

ElementValidationErrors

Gets a dictionary mapping from the FormElement to an array of errors for each form element. Errors on a FieldFormElement will only be included if the element is both visible and editable.

Declaration
public IDictionary<FormElement, IEnumerable<Exception>> ElementValidationErrors { get; }
Property Value
Type Description
IDictionary<FormElement, IEnumerable<Exception>>

A dictionary mapping from the FormElement to an array of errors for each form element. Errors on a FieldFormElement will only be included if the element is both visible and editable.

Remarks

An empty dictionary indicates that all attachment elements and visible and editable field form element values are valid. Constraints are expressed by the FormInput and the value of IsRequired of the element. The constraints depend on the type of FormInput. The errors returned for each key is an array of any of the following error types:

  • FeatureFormNullNotAllowedException
  • FeatureFormIncorrectValueTypeException
  • FeatureFormExceedsMaximumAttachmentCountException
  • FeatureFormExceedsMaximumDateTimeException
  • FeatureFormLessThanMinimumAttachmentCountException
  • FeatureFormLessThanMinimumDateTimeException
  • FeatureFormExceedsMaximumLengthException
  • FeatureFormLessThanMinimumLengthException
  • FeatureFormExceedsNumericMaximumException
  • FeatureFormLessThanNumericMinimumException
  • FeatureFormNotInCodedValueDomainException
  • FeatureFormFieldIsRequiredException

This dictionary contains validation errors for attachment elements and visible and editable field form elements only. For other field form elements, use the ValidationErrors property.

See Also
ValidationErrors
ValidationErrors

Applies to

Platforms and versions
TargetVersions
.NET300.1
.NET Windows300.1
.NET Android300.1
.NET iOS300.1
In this article
Provide feedback
Back to top Copyright © 2025 Esri.