How do you make a "Cancel" button for forms?

if your buttons are images, you can just put a link on the image to the “cancel” page. Not sure why you would POST only to destroy the data and go to another page when you can just outright link to another page.