Hello,
i am having problems with an afterchange event on a date field with a confirm dialogue, the code is as follows:
function msoxd_my_Overall_Implementation_Date:nAfterChange(eventObj)
{
if (eventObj.IsUndoRedo)
{
}
var resp = XDocument.UI.Confirm("Are you sure you want to commit to this date?",4);
var objDataElement = XDocument.DOM.selectSingleNode("/my:myFields/my:field116");
objDataElement.text = resp;
}
The problem we are encountering is that the code loops through twice, the first time it makes the field required, then the second it adds the date, is anyone aware of a way to fix to this matter?
Thank you
Ben