I have created a doctype training and also created a child table attendee.
attendee have two fields i.e. attendee id which is a link to employee and another attendee name.
What i am trying to do is display the name of attendee I have selected.
Training Doctype have a field name Attendee which is a table fieldtype and linked to attendee.
i have tried add_fetch method too.
cur_frm.add_fetch(‘attendee_id’, ‘employee_name’, ‘attendee_name’)
the above code is written in attendee.js
What i can do to retrieve value?