Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Custom delete button script

Avatar

Level 9

On the form linked below, I am trying to create a script for the red custom button (red button with white "X" ) that will delete only that particular meeting topic and renumber the remaining topics sequentially. I created a pop-up message to appear warning the user that they are about to delete that row but cannot figure out how to delete that particular sub-form occurrence.

I was also trying to make the Action Items dropdowns only include displayed topic numbers but can leave what I have (list 1->25) if that is not possible,

https://acrobat.com/#d=7Is3SWf5AY-hg7d9bYu67A

1 Accepted Solution

Avatar

Correct answer by
Level 10

Try the following code in the click event of the Delete button.

Also place the following code in the Layout Ready event instead of initialize event of the NumericField.   

Thanks

Srini

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Try the following code in the click event of the Delete button.

Also place the following code in the Layout Ready event instead of initialize event of the NumericField.   

Thanks

Srini

Avatar

Level 9

Srini,

That works great! Thanks so much for your help.

-Don