Can we show the Child Table Row's popup?


I have added a button to a DocType. This DocType contains a Child Table.

When a user clicks on this button I want to show the Modal dialog that ERPNext shows when one clicks on the Edit button on the Row of Child Table. Here before showing a Modal I want to hide a few fields depending on a few criterias.

How can we do this?


Yogi Yang