Javascript to manipulate fields in second list added as DataTable in primary form

Hello @syeda33,

This article is for Public Forms and describes work with Data Table control.

And if you need to calculate totals of items in List or Library control, you can use the code from this post: