ValidityChangedThisGroup
Description
Returns
True if the field's validity was changed by the current group of SetFieldValue
calls.
This method tells you whether the validity of the field changed. In some cases, the validity can change even if this field's value did not. For example, its validity might be dependent upon another field's value.
The grouping mechanism detects BeginNewFieldUpdateGroup and SetFieldValue calls only for the Entity object to which this field belongs. It ignores calls that apply to other Entity objects.
You
can instead use the ValidityChangedThisSetValue
method
if you only care about the most recent SetFieldValue call.
Syntax
VBScript
fieldInfo.ValidityChangedThisGroup
Perl
$fieldInfo->ValidityChangedThisGroup
();
- Identifier
- Description
- fieldInfo
- A FieldInfo object, which contains information about one field of a user data record.
- Return value
- A Boolean that is True if the field's validity changed since
the most recent call to the
BeginNewFieldUpdateGroup
, otherwise False.