Closed sderacy closed 2 years ago
Need to create a few action arrays:
The add, edit, and delete arrays can then be sent to the server. In any order, the new entries should by added, edited entries should be updated, and deleted entries should be removed from the database. Actions on the client side should ensure that there is no duplication between these arrays.
Any error should return false. Posting should also refresh the page to show the modified results, and display a success message.
Currently, if you change a field on the profile page it will automatically save the information. It would be nicer to have a button that sends all of the data at once instead of a couple little changes.