8,849
edits
Changes
→To validate against a different custom field
frm.cf_@Project Budget.id@.value>=@value@
==To validate against a different custom 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:
document.frmuser.''standard field name''.value
==To make a field conditionally mandatory==