drag and drop/handling forms

drag and drop/handling forms

Hello,

I have 2 table columns on the front-end : 1) (left)ALL USERS, and 2) (right) USERS THAT CAN PRINT. You can drag and drop from the left column to the right, and AJAX will update the right column by sending a request to the back-end database and updating the appropriate column.

How do I handle an error if the table is not correctly updated on the back-end??? A) Do I just have the inserted USER fall off the right side column or B) Do I wait until the back-end responds with a successful message, then display the user inserted on the front-end??? i'm kind of stuck and don't know the best way to implement this.

thanks.