I have a form with one input which asks the user to select 'entity_id' which is populated via entity reference and on selection it updates the work_email field for the user as part of ajaxcall updateNameFields.Intially the form is created as a table container with 5 rows and two columns 'entity_id' and 'work_email'.Form has a button to add new item/rows using another ajax call updateNames.This works good too.Problem is the ajax call (updateNameFields) on the newly added row is not getting called .
I am new to Ajax and looking for any input which would help to fix this issue.