// Invoke the recalculate method to update the form calculations.
The buttons generally work great. However, if I was to add some instances to the table and then save the form to come back to to it, I'm unable to remove the instances "rows" that were added to the actions table before saving, closing and reopening the form. I can only add new rows and remove the new rows, but not the ones added prior to the reopening the form.
Is there a way to allow the user to delete previously added instances?
Thanks in advance.
I am using LiveCycle Designer ES2, Note I'm a beginner when it comes to coding.
It seems the ActionsTable is reverting back to hidden, each time it is opened. Not sure why it would do that, as you have preserve scripting changes set to automatic. Maybe you can try setting presence (hidden/visible) in code something like;
Note, I have pre-filled some of the information to save time. The add/remove instances are for the +/- buttons next to the table rows.
Interestingly, I've just noticed that when you click "- Actions" the table is hidden. Normally it is meant to remove all the information the the table, but when "+ Actions" is pressed again, all the previous information is still there.
Thanks for taking the time to have a look at the form.
What you have looks ok, sometimes things get messed up if there's other repeating groups with the same names but at different levels. Is it possible for you to upload your form to one of the file sharing sites (goolge docs, dropbox, etc) and post a link in this thread.