Hi @kevin7,
You can trace the value change for the field control in the new form using jQuery like this:
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('input[title="fieldname"]').get(0).onvaluesetfrompicker=DatePickerChanged;
});
function DatePickerChanged() {
// Do stuff
alert("value changed");
}
</script>
Reference:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.