Field properties

A field can be located on a validation form, a validation pane, a tab, or a group and has the following customizable properties:

AutoComplete

Enables or disables the auto complete function. This property can only be used for a field that is defined as text box (FieldStyle=CscValidationFieldStyleStandard). For a field that is defined as check box or combo box this property is ignored.

The property is not supported for Thin Clients. If needed, you can use the ProjectExecutionModuleType property to ensure that it is executed for rich clients only. The property is not supported for folder fields.

' extraction script for class <MyClass>

Private Sub ValidationForm_DocumentLoaded(pXDoc As CASCADELib.CscXDocument)
   Dim i As Long
   Dim oField As CscScriptValidationField
   For i = 0 To ValidationForm.Fields.Count - 1
       Set oField = ValidationForm.Fields(i)
       oField.AutoComplete = True
   Next i
End Sub

AutoCompleteIgnoreCase

Enables or disables the case sensitivity of the auto complete function of the field. This property can only be used for a field that is defined as text box (FieldStyle=CscValidationFieldStyleStandard). For a field that is defined as check box or combo box this property is ignored.

The property is not supported for Thin Clients. If needed, you can use the ProjectExecutionModuleType property to ensure that it is executed for rich clients only. The property is not supported for folder fields.

Enabled

Enables or disables the control. Enabled means that the user can select the element, for example to edit a field or button. Disabled displays the element grayed out and not accessible for the user.

FieldName

Returns the name of the field. This property is read-only and cannot be changed.

FieldStyle

Returns the display style of the field. This property is read-only and cannot be changed.

  • CscValidationFieldStyleStandard - The field is displayed as a standard text box.

  • CscValidationFieldStyleCheckbox - The field is displayed as a checkbox.

  • CscValidationFieldStyleCombo - The field is displayed as a combobox.

Visible

Displays or hides the element on the validation form and pane.