Skip to main content

PdfGraphicsAcroFormField.Required Property

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

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v23.2.Drawing.dll

NuGet Package: DevExpress.Pdf.Drawing

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 an affect only if the form field is associated with the Submit A Form action. Otherwise, this property value is ignored.

See Also