8,849
edits
Changes
→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!="NoYes"
in the JavaScript validation setting where: