document.getElementById("EditRecordDate_Due").addEventListener('change', function() {
alert("Date Due has been changed");
document.getElementById("EditRecordDate_Due_Changed").value = "Yes";
}); // end of change event listener
}); // end of DataPageReady event listener
</script>
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.
Question
BillW
I have a tabular datapage with one field (Date_Due) that I'm attempting to monitor for a change in value.
When a change is detected, I wish to set the value of a second Yes/No field (Date_Due_Changed) to Yes.
I can't seem to read any value except for null.
<script>
document.addEventListener('DataPageReady', function() {
document.getElementById("EditRecordDate_Due").addEventListener('change', function() {
alert("Date Due has been changed");
document.getElementById("EditRecordDate_Due_Changed").value = "Yes";
}); // end of change event listener
}); // end of DataPageReady event listener
</script>
Link to comment
Share on other sites
5 answers 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.