S
Scott
Hello,
I am using vbscript, and I have a date picker named RequestDate. I would
like to set the values of 2 check boxes (named "cancel_exp" & "pls_expedite")
back to false every time the date picker is changed. I already have an
OnAfterChange event handler on my form. Can I add some code to this section
(see below)? If so please provide. Thanks.
Sub msoxd_my_RequestDate_OnAfterChange(eventObj)
' Write code here to restore the global state.
If eventObj.IsUndoRedo Then
' An undo or redo operation has occurred and the DOM is read-only.
Exit Sub
End If
' A field change has occurred and the DOM is writable. Write code here to
respond to the changes.
CalculateDateDifference
End Sub
I am using vbscript, and I have a date picker named RequestDate. I would
like to set the values of 2 check boxes (named "cancel_exp" & "pls_expedite")
back to false every time the date picker is changed. I already have an
OnAfterChange event handler on my form. Can I add some code to this section
(see below)? If so please provide. Thanks.
Sub msoxd_my_RequestDate_OnAfterChange(eventObj)
' Write code here to restore the global state.
If eventObj.IsUndoRedo Then
' An undo or redo operation has occurred and the DOM is read-only.
Exit Sub
End If
' A field change has occurred and the DOM is writable. Write code here to
respond to the changes.
CalculateDateDifference
End Sub