Hi Patrick, sorry for the lack of background. here's the post I originally added to newbie forum.
<excerpt>
Any way to effectively debug a dropdown control's "Some rules not applied. Unspecified error" error? I've got a dropdown that's bound to my main datasource, but populates its options from a secondary data source; which all works fine. But I'm finding that when I apply a rule that depends on a field expression(executes xpath) and then preview the form, no matter which action applied - condition added or no, I get the above uninformative error. I'm using IP 2003 with c# managed code, BTW.
</excerpt>
This looks like a managed code thing since I'm getting the same error as the other Patrick trying to do almost precisely the same thing, except I'm using c#. But it looks like he was successfully able to access and handle the OnAfterChange event type from his form code, whereas I cannot; at least not wit this handler; throws an error when I select from the dropdown (ctrl80's the dropdown):
[InfoPathEventHandler(MatchPath = "CTRL80", EventType = InfoPathEventType.OnAfterChange)]
public void CTRL80_OnAfterChange(DocActionEvent e)
{
thisXDocument.UI.Alert("I'm here");// testing handler
}
Any ideas? Thanks!!