Question about OnAftraChange
I have an InfoPath form that contain a field that contain OnAfterChange(DataDOMEvent e) event.
In this event function i have this code (In C#):
string str=e.Source.nodeValue.Tostring();
this.thisXDocument.UI.Alert(str);
I previewed the form and try this test: I enter in the field the input "test1" and get the alert "test1", I change the input from "test1" to "test2" and I get the Alert "test1" and after this the Alert "test2"!!!!
Why I get again the alert "test1" after I changet it to "test2"????
I want to get only alert about the current input!!!!
How to do it???
|