# Required Text In Email Field (@schoolemail.edu)

**URL:** <https://community.thunkable.com/t/required-text-in-email-field-schoolemail-edu/1202845>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [April 2, 2021, 9:51pm UTC](https://community.thunkable.com/t/required-text-in-email-field-schoolemail-edu/1202845 "2021-04-02T21:51:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![delee\_techdeveloper](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/delee_techdeveloper/32/29616_2.png) [@delee\_techdeveloper](https://community.thunkable.com/u/delee_techdeveloper)\
**Post date:** [April 2, 2021, 9:51pm UTC](https://community.thunkable.com/t/required-text-in-email-field-schoolemail-edu/1202845/1 "2021-04-02T21:51:04Z")

</div>

How do you set a requirement in the text field? I am trying to program the user to have a certain email address in order to submit the form.

 ![Form Requirement Code](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/7/774415c6f3ce059b064832868771694d1f0baa9b.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 2, 2021, 10:11pm UTC](https://community.thunkable.com/t/required-text-in-email-field-schoolemail-edu/1202845/2 "2021-04-02T22:11:15Z")

</div>

You should check the text string when they submit the email address, not when the text input changes.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 2, 2021, 10:12pm UTC](https://community.thunkable.com/t/required-text-in-email-field-schoolemail-edu/1202845/3 "2021-04-02T22:12:55Z")

</div>

There is a block you can use to check if a string contains some piece of text. Using a conditional you could set up blocks that would do the function `if the string “X” contains text “bla bla bla” then do something else`

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:25pm UTC](https://community.thunkable.com/t/required-text-in-email-field-schoolemail-edu/1202845/4 "2024-11-08T13:25:31Z")

</div>


