# Validation "Letters not allowed"

**URL:** <https://forum.kirupa.com/t/validation-letters-not-allowed/145991>\
**Category:** Uncategorized\
**Created:** [April 27, 2005, 1:55pm UTC](https://forum.kirupa.com/t/validation-letters-not-allowed/145991 "2005-04-27T13:55:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobijas20](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@tobijas20](https://forum.kirupa.com/u/tobijas20)\
**Post date:** [April 27, 2005, 1:55pm UTC](https://forum.kirupa.com/t/validation-letters-not-allowed/145991/1 "2005-04-27T13:55:13Z")

</div>

How to specify in this validation script that letters are not allowed?

on (release) {  
if (Number(\_parent.box) \< 1 || Number(\_parent.box) \> 12) {  
\_parent.worning.gotoAndStop(2);  
} else {  
\_parent.worning.gotoAndStop(1);  
\_parent.gotoAndPlay(2);  
}  
}

box is a text field.
