Zoho CRM show/ hide subform

Zoho CRM show/ hide subform

Can you provide a sample workflow/ function how when a checkbox is selected in a module, it will show the subform. If checkbox is not checked, subform will not show.