Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

collapse button when add or delete row

Avatar

Level 5

Hi All.

I insert flowed subform with Button1 and Button2 into table cell. I would like when form is opened in the first row of a table Button1 is visible. Then when user click Button1 to add a row Button2 become visible in first row of table and Button1 will visible in second row of table. When user add third row Button2 will visible on first and second row and Button1 will visible on third row. And so on. If user will delete all rows of a table accept one only Button1 should be visible in that row.

By other words:

- the Button1 should be visible in first and last row of a table.

- the Button2 should be invisible when table has only one row and in the last row of table.

If is possible how it to do?

Thanks.

3 Replies

Avatar

Level 10

Hi,

If you have a look at this example, you will see how I vary the presence of the Up/Down arrows, in the first and last rows. http://assure.ly/oF9SrB.

Also have a look at this building dynamic tables example: http://assure.ly/gk8Q7a.

Hope that helps,

Niall

Avatar

Level 5

Hi Niall. Thanks for replay.

I saw those examples. My problem to hide and show according button when add or delete row. I don't have problem to add or delete row. May be you know how to setup not allow stop cursor for according field? In Tab Order I didn't find such specification.

Thanks.

Avatar

Level 10

Sorry, I am not following what you are trying to achieve.

Cn you upload your form to a file sharing site and post the URL here?

Niall