Changes

Jump to: navigation, search

JavaScript Validation

338 bytes added, 18:07, 22 October 2013
To validate against a different custom field
frm.cf_@Project Budget.id@.value>=@value@
 
==To make a field conditionally mandatory==
 
If you wish to make a field mandatory ''only if'' the value ''Yes'' is selected from a dropdown field, for example, use:
 
@value@!="" or frm.cf_''fieldid''.value="No"
 
in the JavaScript validation setting where:
* ''fieldid'' is the [[Custom Field ID|custom field ID]] of the dropdown field
==See Also==
8,849
edits

Navigation menu