# KeyUp + Delay + Show Validation Message

**URL:** <https://forum.kirupa.com/t/keyup-delay-show-validation-message/275915>\
**Category:** programming\
**Created:** [November 20, 2008, 1:47am UTC](https://forum.kirupa.com/t/keyup-delay-show-validation-message/275915 "2008-11-20T01:47:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nineteen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nineteen/32/2679_2.png) [@Nineteen](https://forum.kirupa.com/u/Nineteen)\
**Post date:** [November 20, 2008, 1:47am UTC](https://forum.kirupa.com/t/keyup-delay-show-validation-message/275915/1 "2008-11-20T01:47:57Z")

</div>

Hi,

We’re currently working on some validation fields in WPF.

We want users to be able to type in the field and when they stop typing to display a validation message (where appropriate) after a small delay.

Eg:  
Step 1) User begins to type in Field  
Step 2) When user stops typing start to count to 1 second, when 1 second is reached go to Step 3 else if user starts to type again reset and repeat Step 2.  
Step 3) Display validation message if field format is incorrect.

Is there any references we can use to see how this may be done or does anyone have an idea?

Cheers!
