Okay, probably a super dumb question here...

I have a Form which allows logged in Users to change their User Details. At the bottom of the Form is a "Change Details" button which saves the data.

Programatically, how do I make a "Cancel" button work so their original data reappears and everything is back to normal??