# Mautic Form per Lead from Email

**URL:** <https://forum.mautic.org/t/mautic-form-per-lead-from-email/1988>\
**Category:** General Discussion\
**Created:** [June 20, 2015, 1:57pm UTC](https://forum.mautic.org/t/mautic-form-per-lead-from-email/1988 "2015-06-20T13:57:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![onlineth](https://avatars.discourse-cdn.com/v4/letter/o/c6cbf5/32.png) [@onlineth](https://forum.mautic.org/u/onlineth)\
**Post date:** [June 20, 2015, 1:57pm UTC](https://forum.mautic.org/t/mautic-form-per-lead-from-email/1988/1 "2015-06-20T13:57:13Z")

</div>

Hi, I have a few questions about Mautic, If I send links to landing pages (that contains a form) in emails, does mautic add something to the URL that identifies the same person from the email? (It doesn’t create 2 leads separate, keeps it the same lead) Also, is there a way to have a form expire after it has been submitted per lead?

---

<div class="post-metadata">

**Author:** ![onlineth](https://avatars.discourse-cdn.com/v4/letter/o/c6cbf5/32.png) [@onlineth](https://forum.mautic.org/u/onlineth)\
**Post date:** [June 20, 2015, 1:57pm UTC](https://forum.mautic.org/t/mautic-form-per-lead-from-email/1988/2 "2015-06-20T13:57:13Z")

</div>

Hi, I have a few questions about Mautic, If I send links to landing pages (that contains a form) in emails, does mautic add something to the URL that identifies the same person from the email? (It doesn’t create 2 leads separate, keeps it the same lead) Also, is there a way to have a form expire after it has been submitted per lead?

---

<div class="post-metadata">

**Author:** ![gmillard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gmillard/32/5_2.png) [@gmillard](https://forum.mautic.org/u/gmillard)\
**Post date:** [June 20, 2015, 4:03pm UTC](https://forum.mautic.org/t/mautic-form-per-lead-from-email/1988/3 "2015-06-20T16:03:26Z")

</div>

Hi!

Yes, Mautic does append an encoded identifier to links to identify the specific lead the email was sent to.

Right now, there’s not a built in way to have the form expire after a lead has submitted it. If you know a little JavaScript, you could probably do this yourself by using a combination of cookies and Mautic’s form callback support. For example, you can define somewhere on the page,

```auto
<script>
var MauticFormCallback = {
    yourFormName: {
         onResponse: function(response) {
            document.cookie="formsubmitted=yourFormName";
            // Some code to hide the form
         }
    }
};
</script>
```

Then add some code on page load to check for that cookie and auto hide the form.

I would recommend that you add the option to hide form after lead submits as a feature request at [https://github.com/mautic/mautic/issues](https://github.com/mautic/mautic/issues).

Thanks!  
Alan

---

<div class="post-metadata">

**Author:** ![onlineth](https://avatars.discourse-cdn.com/v4/letter/o/c6cbf5/32.png) [@onlineth](https://forum.mautic.org/u/onlineth)\
**Post date:** [June 22, 2015, 1:25am UTC](https://forum.mautic.org/t/mautic-form-per-lead-from-email/1988/4 "2015-06-22T01:25:50Z")

</div>

Thank you, sent off the feature request: [https://github.com/mautic/mautic/issues/569](https://github.com/mautic/mautic/issues/569)

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:59pm UTC](https://forum.mautic.org/t/mautic-form-per-lead-from-email/1988/5 "2020-02-02T22:59:37Z")

</div>


