Skip to main content
All docs
V24.1

PdfFormFieldFacade.Required Property

Gets or sets whether to force users to complete the form field.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v24.1.Core.dll

NuGet Package: DevExpress.Pdf.Core

Declaration

public bool Required { get; set; }

Property Value

Type Description
Boolean

true to mark the form field as required; otherwise, false.

Remarks

If a user attempts to submit the form when a required field is blank, an error message appears and the form field is highlighted.

This property has effect only if the form field is associated with the Submit A Form action. Otherwise, this property value is ignored.

See Also