ACCEPT

Resource: Property, Field : EstimatedCoBuyerAgentStateLicense

Description

EstimatedCoBuyerAgentStateLicense must not have many repeated digits.

Error Messages

1) ERROR, the entry had to many repeated digits of the same value.

Fields referenced within this rule

EstimatedCoBuyerAgentStateLicense 

StandardStatus 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the entry had to many repeated digits of the same value.|LogicBlk1^TRUE|LogicBlk2^FALSE]
// If status is 'pending' or 'under contract' and entry is not empty or has changed...
IIF((/*[LogicBlk1]*/(StandardStatus.IN.('P','U')).AND.(.ENTRY. != .EMPTY.).AND.(.ENTRY. != .OLDVALUE.)),
// Then verify that the state license does not have to many repeted digits...
(/*[LogicBlk2]*/.NOT.MATCH("(^1{7,20}$)|(^2{7,20}$)|(^3{7,20}$)|(^4{7,20}$)|(^5{7,20}$)|(^6{7,20}$)|(^7{7,20}$)|(^8{7,20}$)|(^9{7,20}$)|(^0{7,20}$)",TRIM(.ENTRY.))),
// Else accept the value.
.TRUE.)

Syntax only

IIF(((StandardStatus.IN.('P','U')).AND.(.ENTRY. != .EMPTY.).AND.(.ENTRY. != .OLDVALUE.)),(.NOT.MATCH("(^1{7,20}$)|(^2{7,20}$)|(^3{7,20}$)|(^4{7,20}$)|(^5{7,20}$)|(^6{7,20}$)|(^7{7,20}$)|(^8{7,20}$)|(^9{7,20}$)|(^0{7,20}$)",TRIM(.ENTRY.))),.TRUE.)

Rule Unique ID

3783754f-40ce-490d-b015-14a886625047

Rule Number

76