Frappe Cloud Support Partners Foundation Frappe School

Make delete and add button disable in child table

  1. I have 2 child table which i want that in FIRST child table i want to add and delete button disable in first place. AND for SECOND child table i want to disable add and delete button after workflow change.

set the child table field as readonly by script.

refer to this Make child table read-only after workflow status changes

@szufisher, thanks, but my problem is that after changing the workflow status, user should not able to delete child table row,:

After changed workflow status from waiting to accepted, that red color delete button should not display.

AND also add new row button.

try below: