# How to ensure valid entry on forms \[RESOLVED\]

**URL:** <https://community.gravityforms.com/t/how-to-ensure-valid-entry-on-forms-resolved/16400>\
**Category:** Get Help\
**Tags:** gform\_field\_validation, validation\
**Created:** [December 1, 2023, 5:21pm UTC](https://community.gravityforms.com/t/how-to-ensure-valid-entry-on-forms-resolved/16400 "2023-12-01T17:21:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dapo](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@dapo](https://community.gravityforms.com/u/dapo)\
**Post date:** [December 1, 2023, 5:21pm UTC](https://community.gravityforms.com/t/how-to-ensure-valid-entry-on-forms-resolved/16400/1 "2023-12-01T17:21:11Z")

</div>

Hi, I’m using Gravity forms on a client’s website.

We noticed users can fill the form field with random information for example enter numbers or signs in the email fields, or text in the telephone field and the form submission would still go through successfully

See image below.

 ![image001 (3)](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/6/648e863cbe020c4ee8ae590ddaed81762281f9f1.png)

We want the form to block invalid form entry and show a message about what is wrong with the entry for example ‘please enter a valid email address’, or phine number.

How can I make this happen in Gravity forms.  
Thanks,

---

<div class="post-metadata">

**Author:** ![faisalahammad](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/faisalahammad/32/13948_2.png) [@faisalahammad](https://community.gravityforms.com/u/faisalahammad)\
**Post date:** [December 1, 2023, 8:44pm UTC](https://community.gravityforms.com/t/how-to-ensure-valid-entry-on-forms-resolved/16400/2 "2023-12-01T20:44:29Z")

</div>

Hi Dapo,

The email field must require a valid email address before form submission. Otherwise, when you try to submit the form, you will get the following error. 👇

 ![invalid email warning](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/a/a44cfc72932ebba582d32f5dddb0d9c9bb2b12bc.jpeg)

The same goes for the telephone/phone number. If you select the first option `(###) ###-####` or **International** format, both will require a valid number with an extension. Please ensure you have added the correct field with the appropriate field type. Never use the **Single Line Text** field for email or phone number field.

Please refer to the following screen recording: 👇

![Form Testing screen recording](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/7/700ae5fd53dbc859a3823744c820314a423ba2df.gif)

Please keep me posted about the outcome. Thank you 👍

---

<div class="post-metadata">

**Author:** ![dapo](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@dapo](https://community.gravityforms.com/u/dapo)\
**Post date:** [December 5, 2023, 3:18pm UTC](https://community.gravityforms.com/t/how-to-ensure-valid-entry-on-forms-resolved/16400/3 "2023-12-05T15:18:38Z")

</div>

Thanks Faisal, you are kind. I will replace the Single line text fields with the valid fields.

I appreciate your help.

---

<div class="post-metadata">

**Author:** ![faisalahammad](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/faisalahammad/32/13948_2.png) [@faisalahammad](https://community.gravityforms.com/u/faisalahammad)\
**Post date:** [December 5, 2023, 8:09pm UTC](https://community.gravityforms.com/t/how-to-ensure-valid-entry-on-forms-resolved/16400/4 "2023-12-05T20:09:58Z")

</div>

You are welcome, Dapo.

Great to hear that the issue has been resolved! If you require any additional assistance in the future, please do not hesitate to open a new ticket. Thank you! 👍

![Good day](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/f096560f9eab7e3e536a686abfbd06dafab25216.gif)

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [January 3, 2024, 11:02pm UTC](https://community.gravityforms.com/t/how-to-ensure-valid-entry-on-forms-resolved/16400/5 "2024-01-03T23:02:00Z")

</div>

Closed on January 3, 2024, 11:02pm UTC


