Hi.

I would like to limit the number of characters a user make enter at any given time to a finite integer. For example, let say I have an edit box in a dialog box for entering zip code. I would like to limit the number of characters to *exactly five*.

I have tried using DDV verification feature in a dialog box. However, I found that the user can overflow the edit box. For example:

limit: 500
User: 500000

If the user overflow the edit box, for DDV will consider the data entered as being valid. I believe the problem has something to do with overflowing a datatype.

Nonetheless, what is the best way to limit the number of characters/digits entered in an edit box?

Thanks,
Kuphryn