# Preventing submitting form twice

**URL:** https://forum.mautic.org/t/preventing-submitting-form-twice/11797
**Category:** Product Support
**Created:** [November 27, 2019, 9:50am UTC](https://forum.mautic.org/t/preventing-submitting-form-twice/11797 "2019-11-27T09:50:11Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![simas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/simas/32/724_2.png) [@simas](https://forum.mautic.org/u/simas)
#### Post date: [November 27, 2019, 9:50am UTC](https://forum.mautic.org/t/preventing-submitting-form-twice/11797/1 "2019-11-27T09:50:11Z")

</div>

Hello,

I am interested if there is a way to prevent submitting the form twice if the lead already exists (for example based on email as a unique identifier)

and if possible showing the corresponding message

thank you

---

<div class="post-metadata">

### Author: ![kuzmany](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kuzmany/32/390_2.png) [@kuzmany](https://forum.mautic.org/u/kuzmany)
#### Post date: [November 27, 2019, 6:50pm UTC](https://forum.mautic.org/t/preventing-submitting-form-twice/11797/2 "2019-11-27T18:50:21Z")

</div>

There are unique fields (email is default) allow merging contacts

[https://www.mautic.org/docs/en/contacts/managing\_contacts.html#contact-duplicates](https://www.mautic.org/docs/en/contacts/managing_contacts.html#contact-duplicates)

---

<div class="post-metadata">

### Author: ![simas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/simas/32/724_2.png) [@simas](https://forum.mautic.org/u/simas)
#### Post date: [November 27, 2019, 10:42pm UTC](https://forum.mautic.org/t/preventing-submitting-form-twice/11797/3 "2019-11-27T22:42:27Z")

</div>

and that’s exactly what I am trying to avoid -merging a contact because when you merge you overwrite the old data in the fields with new data.

In my situation, when a new contact enters his email I grab some extra referral data and if he comes back again and enters the email again the original referral data gets overwritten with the new referral data and I don’t want that… So I either I need to prevent submitting the form if the contact already submitted it once or somehow lock the fields if they are populated already

---

<div class="post-metadata">

### Author: ![kuzmany](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kuzmany/32/390_2.png) [@kuzmany](https://forum.mautic.org/u/kuzmany)
#### Post date: [November 28, 2019, 11:42am UTC](https://forum.mautic.org/t/preventing-submitting-form-twice/11797/4 "2019-11-28T11:42:46Z")

</div>

This feature is on the upcoming list

---

<div class="post-metadata">

### Author: ![simas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/simas/32/724_2.png) [@simas](https://forum.mautic.org/u/simas)
#### Post date: [November 28, 2019, 2:41pm UTC](https://forum.mautic.org/t/preventing-submitting-form-twice/11797/5 "2019-11-28T14:41:54Z")

</div>

that’s great! Is there any schedule to have any idea when?

---

<div class="post-metadata">

### Author: ![michaelasg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/michaelasg/32/691_2.png) [@michaelasg](https://forum.mautic.org/u/michaelasg)
#### Post date: [September 12, 2021, 4:45am UTC](https://forum.mautic.org/t/preventing-submitting-form-twice/11797/6 "2021-09-12T04:45:05Z")

</div>

Any solution on this? Subsequent submitting of a form overwrites the existing data…
