Been looking for a solution to add a "delete row button" for each row on a repeated table form. Migrated over to SharePoint Online but since InfoPath is being depreciated by 2026 some of the InfoPath toggles that was in Central Admin (as is Central Admin) is gone from SP Online.
I get this error when I tried to publish a form where I used the edit code button (for a button element) and added this code:
e.Source.DeleteSelf();
It works perfectly sand-boxed but since sand-boxed solutions have also been depreciated I suppose I am getting this error. Is there a way around this or another solution to make a 'Delete Row" button in a Repeated Table Form? Yes I have Farm/Admin rights. SP Online, InfoPath 2013.