# Prevent more than one period in email address

**URL:** <https://community.gravityforms.com/t/prevent-more-than-one-period-in-email-address/13921>\
**Category:** Get Help\
**Tags:** custom, gform\_field\_validation, email-validation, conditional-logic\
**Created:** [November 22, 2022, 2:58pm UTC](https://community.gravityforms.com/t/prevent-more-than-one-period-in-email-address/13921 "2022-11-22T14:58:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user59e63028edd114.0](https://avatars.discourse-cdn.com/v4/letter/u/c6cbf5/32.png) [@user59e63028edd114.0](https://community.gravityforms.com/u/user59e63028edd114.0)\
**Post date:** [November 22, 2022, 2:58pm UTC](https://community.gravityforms.com/t/prevent-more-than-one-period-in-email-address/13921/1 "2022-11-22T14:58:02Z")

</div>

Hi,

I’m trying to prevent an email address from being entered that has more than one period in the name. For example:

[test.ing@gmail.com](mailto:test.ing@gmail.com) = PASS  
[tes.t.ing@gmail.com](mailto:tes.t.ing@gmail.com) = FAIL

Is there a way of passing a validation for this?

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:** [November 22, 2022, 8:57pm UTC](https://community.gravityforms.com/t/prevent-more-than-one-period-in-email-address/13921/2 "2022-11-22T20:57:48Z")

</div>

Hi Ron,  
You could use the GF filter hook to prevent submission when someone inserts one more period on the email field. Here is the [documentation](https://docs.gravityforms.com/gform_field_validation/) of the detail. Let me know how that goes! 😄

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [December 22, 2022, 8:58pm UTC](https://community.gravityforms.com/t/prevent-more-than-one-period-in-email-address/13921/3 "2022-12-22T20:58:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
