# Conact form: After a post the user can refresh infinite, how can i block this

**URL:** <https://forum.getkirby.com/t/conact-form-after-a-post-the-user-can-refresh-infinite-how-can-i-block-this/11730>\
**Category:** Questions\
**Tags:** v2\
**Created:** [November 27, 2018, 10:58pm UTC](https://forum.getkirby.com/t/conact-form-after-a-post-the-user-can-refresh-infinite-how-can-i-block-this/11730 "2018-11-27T22:58:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wesselink1](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/wesselink1/32/10870_2.png) [@wesselink1](https://forum.getkirby.com/u/wesselink1)\
**Post date:** [November 27, 2018, 10:58pm UTC](https://forum.getkirby.com/t/conact-form-after-a-post-the-user-can-refresh-infinite-how-can-i-block-this/11730/1 "2018-11-27T22:58:45Z")

</div>

After a post on the contact form and i returned back the same page for a thank you message. When the user refresh the page the email send again.

I don’t fine a solution.

Thank you

---

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [November 27, 2018, 11:27pm UTC](https://forum.getkirby.com/t/conact-form-after-a-post-the-user-can-refresh-infinite-how-can-i-block-this/11730/2 "2018-11-27T23:27:42Z")

</div>

How have you implemented the form? is it custom PHP or using the [Uniform](https://github.com/mzur/kirby-uniform) plugin?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [November 27, 2018, 11:34pm UTC](https://forum.getkirby.com/t/conact-form-after-a-post-the-user-can-refresh-infinite-how-can-i-block-this/11730/3 "2018-11-27T23:34:37Z")

</div>

You can do one of two things: redirect to a different page or deactivate the submit button.

The “best practice” is a [Post/Redirect/Get pattern](https://en.wikipedia.org/wiki/Post/Redirect/Get).

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:25pm UTC](https://forum.getkirby.com/t/conact-form-after-a-post-the-user-can-refresh-infinite-how-can-i-block-this/11730/4 "2025-02-06T17:25:48Z")

</div>

Archived on February 6, 2025, 5:25pm UTC


