Expand my Community achievements bar.

SOLVED

Unable to remove specific row from a table

Avatar

Level 2

Hello everyone,

 

Currently, I'm having issue trying to delete the first row of a table when the form is initialized (I tried hidding the row, but I would like to remove the row from the table). This is the row which I would like to remove as soon as the form is previewed: 

SebasRios34_0-1631648355546.png

This is the code I'm using when the field PartNumber is initiliazed, but the line ResultRow.instanceManager.removeInstance(ResultRow.instanceIndex) is not removing the row:

SebasRios34_1-1631648456156.png

I tried putting the rule when the root panel is initialized, but is not working as well:

SebasRios34_2-1631648560652.png

Please let me know if you have any questions regarding my issue.

 

Thanks in advance

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor

Hi @SebasRios34 ,

 

Please raise this question in AEM Forms community for an expert advise.

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/ct-p/adobe-experienc...