# Textfield must contain

**URL:** <https://forum.kirupa.com/t/textfield-must-contain/165448>\
**Category:** Uncategorized\
**Created:** [October 11, 2005, 7:22am UTC](https://forum.kirupa.com/t/textfield-must-contain/165448 "2005-10-11T07:22:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danulf](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/danulf/32/555_2.png) [@danulf](https://forum.kirupa.com/u/danulf)\
**Post date:** [October 11, 2005, 7:22am UTC](https://forum.kirupa.com/t/textfield-must-contain/165448/1 "2005-10-11T07:22:51Z")

</div>

Hi!

I have an emailform, and I’m curious on how you check that if the email textfield contains “@” and “.” move on…  
I have this:

```auto

if (email eq "") {
Status = "Please enter valid Email ";

```

That checks if the email field contains nothing show the text in Status field.  
(to be honest, I copied that one, and haven’t really a clue what eq really stands for)

thanks in advance
