# Detecting if data are in correct form

**URL:** <https://forum.kirupa.com/t/detecting-if-data-are-in-correct-form/305923>\
**Category:** flash\
**Created:** [March 5, 2010, 4:58pm UTC](https://forum.kirupa.com/t/detecting-if-data-are-in-correct-form/305923 "2010-03-05T16:58:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [March 5, 2010, 4:58pm UTC](https://forum.kirupa.com/t/detecting-if-data-are-in-correct-form/305923/1 "2010-03-05T16:58:35Z")

</div>

Have a form for the user to fill.

Name, phone, birth date, email.

is there a way of detecting if the email is a valid real address? (like [somethin@domain.com](mailto:somethin@domain.com)?) avoiding the user to fill [somethin.domain.com](http://somethin.domain.com)…

the same for name (avoiding numbers and phone number avoiding letters?

Thanks
