Avatar

Level 2

I tried both of your suggestions, and it didn't quite work the way I need the field to work.  I want to limit the field to 5 characters, hyphen, three characters (zzzzz-zzz), and no more.  Currently, even with your suggested javascript codes, if the user enters more than eight characters, the input mask changes to zzz,zzz,zzz.  I would like to lock the value so no one can enter more than 8 characters, with the mask defined in my second sentence.