Set child table field mandatory based on condition

Javascript set field as mandatory based on condition, how can i achieve this ya ? is it possible ? at first the field is not mandatory field…

1 Like

Sorry, i got the implementation from here:

cur_frm.fields_dict.child_table_name.grid.toggle_reqd
("child_table_fieldname", condition)
5 Likes