Mautic Community Forums

Preventing submitting form twice

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

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

https://www.mautic.org/docs/en/contacts/managing_contacts.html#contact-duplicates

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

This feature is on the upcoming list

2 Likes

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