8,849
edits
Changes
→To validate against a standard field
You can perform validation against standard fields as well. For example, to validate that the a Canadian postal code syntax should only be enforced for Canadian contacts, use:
document.frmuser.ucountry.value!="10" || isMatch(@value@, 'LNL NLN', true)
The syntax is: