Wrox Programmer Forums
|
BOOK: Professional InfoPath 2003
This is the forum to discuss the Wrox book Professional InfoPath 2003 by Ian Williams, Pierre Greborio; ISBN: 9780764557132
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional InfoPath 2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 23rd, 2005, 02:41 AM
Registered User
 
Join Date: Feb 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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???






Similar Threads
Thread Thread Starter Forum Replies Last Post
yes or no question grstad Classic ASP Databases 0 April 14th, 2006 04:37 AM
Question Ashwini Classic ASP Databases 3 January 10th, 2006 07:20 AM
Probably an old question Aiken Drum Beginning PHP 6 March 21st, 2004 08:45 PM
a question gorji C++ Programming 2 August 11th, 2003 07:41 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.