Hi Swathi,
I tried following this example, but somehow I am not able to set the field a value. Here is the code I am using for the field.
function msoxd_my_field1::OnAfterChange(eventObj) {
if (eventObj.IsUndoRedo)
{ If (thisXDocument.Errors.count = 0)
XDocument.DOM.selectSingleNode("//my:dummy").text = "TRUE"
return; }
And then I created dummy hidden field on the form and I am using conditional formatting on the form to disable it if dummy field is set to FALSE.
Am I missing something here? Please help.
Thanks