Closed ashish-greycube closed 10 months ago
custom_attachment is checkbox and hence frm.doc.custom_attachment always evaluates to true, we need to do frm.doc.custom_attachment==1 to make file_name as required.
custom_attachment is checkbox and hence frm.doc.custom_attachment always evaluates to true, we need to do frm.doc.custom_attachment==1 to make file_name as required.