# Is there an easy way to test for field validation on entering data in a form

**URL:** <https://forum.kirupa.com/t/is-there-an-easy-way-to-test-for-field-validation-on-entering-data-in-a-form/202739>\
**Category:** flash\
**Created:** [October 4, 2006, 12:00pm UTC](https://forum.kirupa.com/t/is-there-an-easy-way-to-test-for-field-validation-on-entering-data-in-a-form/202739 "2006-10-04T12:00:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauprice](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@mauprice](https://forum.kirupa.com/u/mauprice)\
**Post date:** [October 4, 2006, 12:00pm UTC](https://forum.kirupa.com/t/is-there-an-easy-way-to-test-for-field-validation-on-entering-data-in-a-form/202739/1 "2006-10-04T12:00:08Z")

</div>

I have a Flash MX Form that sends data to a MySQL DB. I want to be able to validate the field type on input. When someone enters a phone number and trys to use a text chr I want it to display an error.

Any ideas on the simplest method of doing this?
