I have two lists Created for my leave application in sharePoint. I need related information's come from related list (Leaveinfo) and display it on the textbox in Parent list (LeaveApply).
I have manged to display the logged in user on Empl: textbox in Leaveapply list. After that I want a comparison using Empl: field with user field of Leaveinfo list and get the related information called Casual Leave and display the information on No. of days Required field in LeaveApply list
Here are the two lists details
No. Of Days Required :
Here is the code I have tried to achieve my solution, but it doesn't work for me to display Casual Leave value on No. of days Required field.
I'm now believing that I have used the wrong logic as Cascade dropdown for this, and trying to achieve single data into textbox field rather than use the logic for Cascade dropdown.