Dear Team, How to make a child table field mandatory based on condition?
Sangram
#2
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)
4 Likes
suyash
#3
Hi @Ram_Gopal_Rao,
You have to write Custom script for that. Please refer below code from item.