ChangedEvent's Only Fired when it is after user types in a field? - InfoPath Dev Sign in | Join | Help in Controls InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Controls » ChangedEvent's Only Fired when it is after user types in a field? ChangedEvent's Only Fired when it is after user types in a field? Last post 04-13-2013 01:28 PM by RobSil1976. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 04-11-2013 11:23 AM RobSil1976 Joined on 02-26-2013 Posts 48 ChangedEvent's Only Fired when it is after user types in a field? Reply Contact Hi there,I am wondering how it is possible to only have a ChangedEvent fire as a direct result of typing in the field, and not also by some code-behind changing the field? Currently I have 1 ChangedEvent that sets attributes and values in another field. That ChangedEVent is firing the 2nd fields ChangedEvent method. I only want that to happen if it is the result of typing.. is this possible? I looked over the method args and didn't see any variables that jumped out at me as saying it was the result of direct input vs. programatic change.Thanks,Robin 04-13-2013 08:41 AM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: ChangedEvent's Only Fired when it is after user types in a field? Mark as Not AnswerMark as Answer... Reply Contact No - I mean, there is the changing event, but the DOM is read only at that time, so you can't do much with it. Hilary Stoupa 04-13-2013 01:28 PM In reply to RobSil1976 Joined on 02-26-2013 Posts 48 Re: ChangedEvent's Only Fired when it is after user types in a field? Mark as Not AnswerMark as Answer... Reply Contact Thanks Hilary.R. Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hi there,
I am wondering how it is possible to only have a ChangedEvent fire as a direct result of typing in the field, and not also by some code-behind changing the field? Currently I have 1 ChangedEvent that sets attributes and values in another field. That ChangedEVent is firing the 2nd fields ChangedEvent method. I only want that to happen if it is the result of typing.. is this possible? I looked over the method args and didn't see any variables that jumped out at me as saying it was the result of direct input vs. programatic change.
Thanks,
Robin
No - I mean, there is the changing event, but the DOM is read only at that time, so you can't do much with it.
Thanks Hilary.
R.