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