Determines if the valid event fires even if the data is not changed.

Property of

Entryfield, SpinBox

Description

Set validRequired to true to validate existing data as well as new data. For validRequired to take effect, you must assign a valid event handler.

You typically set validRequired to true when you change a validation condition and need to verify and update existing data. For example, a business might add a digit to its account numbers and change the valid event handler of an entry field to require the new digit. If the validRequired property is set to true, dBASE Plus also detects any existing account numbers that lack the digit and forces the user to make appropriate changes.

valid does not fire if the user never visits the control, even if validRequired is true. Therefore, unless the control is the first or only control on the form that gets focus, you should always use form-level or row-level validation in addition to control-level or field-level validation.