This script allowed each number (e.g. 0,1, 2..) and each character (e.g. a,b, c, A, B, ..) and each special character (e.g. ; : _ § % &).Not allowed is a space.if(xfa.event.newText.match(/[/\s]/)) { xfa.event.change = "";}I hope it was also helpull for you,Mandy