Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Removing a table row when the cells are empty?

Avatar

Level 2

I have a dynamic table with add/remove buttons, and I want to make any empty rows automatically delete in the validation process. However, when I use this._Row1.removeInstance(x) (x is gotten from previous data) it doesn't remove the row. It does however seem to delete the data in that row.

How can I make it delete the actualy row?

And in case you're wondering, the process to determine whether the row is beind detected as being empty is working properly.

Thanks.

3 Replies

Avatar

Level 10

It's hard to say without seeing the form. Can you share your form via acrobat.com or another file sharing service?

Avatar

Level 2

You can view the file here: http://minus.com/lbnkGgqklLa9vj

If it doesn't load, just hit the download button.