bookish Posted December 26, 2016 Report Share Posted December 26, 2016 Happy holidays! How can I disable the delete button in the details page if the value in my STATUS field is "FINISHED"? Quote Link to comment Share on other sites More sharing options...
0 bookish Posted December 27, 2016 Author Report Share Posted December 27, 2016 If it will help any newbie like me, this code has worked. <SCRIPT LANGUAGE="JavaScript"> var status = document.getElementById("EditRecordSTATUS").value; if(status === "FINISHED"){ document.getElementById('Mod0DeleteRecord').style.display="none"; } </SCRIPT> Quote Link to comment Share on other sites More sharing options...
Question
bookish
Happy holidays! How can I disable the delete button in the details page if the value in my STATUS field is "FINISHED"?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.