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

I'm wondering if there is a way to manipulate fields that are in a secondary list but are added on the primary form as a Data Source and List/Library section.

Specifically, what I am trying to do is based on a condition on the primary form, (field a = abc) then hide/show fields that are available on the secondary list.

Thanks for your input.

Hello @syeda33,

You can specify the list view that is displayed in the form in Control Settings >> General >> Data Source >> View.


If you need to change the view depending on the field values, you can add multiple List or Library controls with different views to the form and show/hide them dynamically.