Changes

Jump to: navigation, search

JavaScript Validation

370 bytes added, 20:22, 10 December 2013
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==
8,849
edits

Navigation menu