38
edits
Changes
→To make a check box field conditionally mandatory
If there is a check box field under a show hide header and you wish to make this check box field mandatory ''only if'' the value ''Yes'' is selected from a dropdown field, Paste JavaScript below in the JavaScript Validation field on the "Select Many - Check Boxes" field type:<br />
isChkSelected(frm.cf_''fieldid'') || frm.cf_''fieldid''.value!="Yes":<br />
in the JavaScript validation syntax where<br />