How To Show and Hide Buttons On Insert and Delete Actions

I have a repeat region inside a form. When the button is clicked, the item is stored in a table. I would like to have the submit button hide when the insert to the table is successful and show the check icon. Also, if the item inside the table is deleted, I would like the above to reverse, i.e., the button to appear, and the check icon to disappear.

The table where the data is inserted, and when the data is deleted. I suspect this is somehow the trigger for this to work. I just can’t figure out how. Please see attached photo.

Community Page
Last updated: