Dear Team, How to make a child table field mandatory based on condition?
Hi,
Try following lines in your js
file or in your Custom Script
.
replace child_table_name and child_table_fieldname with your data.
cur_frm.fields_dict.child_table_name.grid.toggle_reqd
("child_table_fieldname", condition)
5 Likes