cdutoit62 Posted February 22, 2021 Report Share Posted February 22, 2021 I would like to use information from any particular selected record as template information like copy/paste to create a complete new record. This will streamline workflow when many similar records need to be created. I do not however wish to accidentally update the original record. I would like assistance if possible with Javascript that would disable the update button on the details section of the original record search & report data page if the user accidentally edits any information. The moment any edit changes occur on the original record, the Update button should be disabled. Quote Link to comment Share on other sites More sharing options...
TellMeWhy Posted February 24, 2021 Report Share Posted February 24, 2021 Try this on your Details Page Footer basically, it listens if any change ( document.addEventListener('change', function (event)) in the page has been made, if there is, it will disable the button <script> document.addEventListener('DataPageReady', function (event) { document.addEventListener('change', function (event) { document.querySelector("input[id^='Mod0EditRecord']").disabled=true; }); }); </script> Quote Link to comment Share on other sites More sharing options...
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.