Hi All,
I have a gallery which i use to populate data in a form. This is what I want to achieve:

1. I select Item 1 in the gallery.
2. The upper part of form gets populated with data coming from Sharepoint List.
3. User edits the lower part of the form.
4. Once done, user clicks the submit button.
5. Item 1 in the gallery disappears and gallery shows the 'unprocessed items' until all items have been processed and submitted.
I was able to achieve Steps 1 to 4 but I'm can't find a way on how to do Step 5. Any help will be much appreciated.