• Resolved xxxxbyte

    (@xxxxbyte)


    Hi!

    I was checking my CSS style for the succeed part, and when I reloaded the email is sent again and every time I reload.

    Is there any way to stop this behaviour?

    Thanks for your work.

Viewing 1 replies (of 1 total)
  • After submitting the form, the browser remembers the POST state, so if you refresh the page, Chrome (for example) will ask if you are sure that you want to re-submit the data. If you click “yes”, then the form will be resubmitted and a new email sent.

    That’s why the form includes a link to “reset” the contact form. So you can take the browser back to the form’s initial state. When in the initial state, the page that displays the form can be reloaded any number of times with no email sent.

    I hope that makes sense. Basically it just means that you need to test your CSS when the form is displayed, not after the form has been submitted.

Viewing 1 replies (of 1 total)
  • The topic ‘Reloading the page makes the email gets submitted again’ is closed to new replies.