ActiveReports 16 .NET Edition
ActiveReports 16 User Guide / Concepts / Section Report Concepts / Section Report Toolbox / InputFieldCheckBox
In This Topic
    InputFieldCheckBox
    In This Topic

    The InputFieldCheckBox report control provides support for a checkbox element in an exported PDF report where the control's value can be modified. The InputFieldCheckBox control inherits most of its properties from the CheckBox report control. The InputFieldCheckBox and the InputFieldText controls are used to create AcroForms or PDF forms such that they are interactive when exported to PDF.

    Important Properties

    Property Description
    CheckAlignment Gets or sets the alignment of the check box text within the control drawing area.
    Checked Gets or sets a value indicating whether the check box is in the checked state.
    CheckStyle Gets or sets the style of the check symbol inside the CheckBox. The available options are Check, Circle, Cross, Diamond, Square, and Star.
    DataField Gets or sets the field from the data source to bind to the control.
    FieldName Specifies a unique name of the field in the resulted PDF file.

    ReadOnly

    Prevents the user from changing the entered text content in the resulted PDF file.

    Required

    Forces the user to fill in the selected field of the resulted PDF file. If a user attempts to submit the form where the required field is blank, the error message appears and the empty required field is highlighted. 

    Note

    • The InputFieldText control is part of the Professional Edition. With the Standard license, the control is not editable in an exported PDF file and is rendered as fixed text.
    • The report's CompatibilityMode property should be set to CrossPlatform for the InputFieldText control to be editable in PDF. This is the default mode for Section reports. In GDI mode, the control is non-editable.
    • In export formats other than PDF, such as RTF, XLS/XLSX, TXT, HTML, and MHT, the InputFieldCheckBox control is exported as a non-editable checkmark.