This has worked great! Thank you. I have the unarchive button created to reverse the archive function and have updated the field names and setfieldfalue to false. But when the Unarchive button is clicked, it does not make the entry visible again in the default view for the library. Also, is there a way to make the unarchive button visible only if the entry is currently archived? Instead of seeing both buttons on the edit form?