<xsf:errorCondition match="/my:myFields/my:DelegateTo" expressionContext="." expression="../my:Decline != 1 and count(my:Person) > 1">
<xsf:errorMessage type="modeless" shortMessage="Please select only one recipient.">You can delegate this task to only one recipient.</xsf:errorMessage>
</xsf:errorCondition>
<xsf:errorCondition match="/my:myFields/my:DelegateTo" expression="../my:Decline != 1 and count(my:Person) = 1 and my:Person/my:AccountId = """>
<xsf:errorMessage type="modeless" shortMessage="The name you entered could not be resolved.">Resolved names will appear underlined. The names that could not be resolved will not appear underlined.</xsf:errorMessage>
</xsf:errorCondition>
<xsf:errorCondition match="/my:myFields/my:RequestTo" expressionContext="." expression="../my:dcr != 1 and count(my:Person) > 1">
<xsf:errorMessage type="modeless" shortMessage="Please select only one recipient.">You can delegate this task to only one recipient.</xsf:errorMessage>
</xsf:errorCondition>
<xsf:errorCondition match="/my:myFields/my:RequestTo" expression="../my:dcr != 1 and count(my:Person) = 1 and my:Person/my:AccountId = """>
<xsf:errorMessage type="modeless" shortMessage="The name you entered could not be resolved.">Resolved names will appear underlined. The names that could not be resolved will not appear underlined.</xsf:errorMessage>