Delete Record on Edit

Delete Record on Edit

How do i delete a record when a certain option is selected from a dropdown menu.

Basically I have a drop down menu labeled "status" and what i want to do is when someone goes in a edits the entry, and selects "closed" from the dropdown menu labeled "status" the entire record is deleted.

how do i do this?

thank you in advanced