Expand my Community achievements bar.

Table with 2 rows, need add row AND remove (specific) row ability

Avatar

Former Community Member

Hi,

I have a dilemma.

SUCCESSFUL TABLE info:

I've been successful at making tables with add/remove rows in the past. the Remove row button would be on every new row, hence, I could remove specific rows. Now I need a table with a minimum of 2 rows - As there will ALWAYS be a minimum of two products to be entered, this table must have a minimum of two input rows. But there can be MORE than two products entered, meaning more than 2 rows.

SO now I have:

a form with a table that has a header row.

Second row is a text field with an Add Row button.

Last row is a text field with a Remove Row button.

I can add rows but I cannot remove any at all.

Should I just go back to the old way with the Add button on the heading row and the remove button on each input row?

If so, Can I create the table with two input rows from the beginning?

Would I need to script each of the Remove Row buttons (one on each of the two text field rows) different from what I have in the SUCCESSFUL TABLE info example?

Thanks in advance for help.

Marla

3 Replies