peterhanse Posted June 28, 2016 Report Share Posted June 28, 2016 Hi all, I have a detail update page in tabular report , I would uncheck the checkbox when a date field is not empty. I 've been trying the script below but it does not work . what am I doing wrong <script> document.getElementById('Mod0EditRecord').onmouseover = function(){ if (document.getElementById("EditRecordSTALLING_eind_stalling_datum").value =="") { document.getElementById('EditRecordSTALLING_actief').checked = true; } else { document.getElementById('EditRecordSTALLING_actief').checked = false; } </script> Quote Link to comment Share on other sites More sharing options...
MayMusic Posted June 28, 2016 Report Share Posted June 28, 2016 You are missing one closing bracket <script> document.getElementById('Mod0EditRecord').onmouseover = function(){ if (document.getElementById("EditRecordSTALLING_eind_stalling_datum").value =="") { document.getElementById('EditRecordSTALLING_actief').checked = true; } else { document.getElementById('EditRecordSTALLING_actief').checked = false; } } </script> Quote Link to comment Share on other sites More sharing options...
peterhanse Posted June 28, 2016 Author Report Share Posted June 28, 2016 thank you MayMusic, Quote Link to comment Share on other sites More sharing options...
MayMusic Posted June 28, 2016 Report Share Posted June 28, 2016 You are most welcome Quote Link to comment Share on other sites More sharing options...
Flowers4Algernon Posted January 28, 2023 Report Share Posted January 28, 2023 Hello! I just wanted to share a similar workflow: 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.