I have a field “Meeting Type” Type: Select, Options: Internal/External
A Child Table - Column 1 - “Name” Type: Link Option: Employee/Contact
Column 2 - Comment
When I Select Internal from dropdown list in , I want to show “Employee” list in Child Table’s Name field, and “Contacts” list when I select External.
When you select Internal Type then Employee will show in the doc name field and when you select the External Type then Contact will show in the doc name field.
Thanks a lot for your solutio Mr. Patel.
There is a small issue in script.
When I am selecting Type: Internal/External, New Row in Child table is getting inserted with the respective doctype Employee/Contacts.
But
Whenever I am clicking on “Add Row” button It’s inserting empty row.
May I fix that “Add Row” option that Whenever I click on “Add Row” button new row with default value: Employee/Contact in “For” field should be inserted?
Now, after selecting contact/employee name in field “Reference Name”, Email Id should be fetch automatically, Here is the screenshot of Script which is not working.