Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail Sending twice #184

Closed
geogeorgejoseph opened this issue Sep 1, 2017 · 5 comments
Closed

Mail Sending twice #184

geogeorgejoseph opened this issue Sep 1, 2017 · 5 comments

Comments

@geogeorgejoseph
Copy link

While submitting form, email send to one email id .but refreshing the same page again and again the same mail repeatedly forwarding to that email id .Can you suggest a solution for this issue ?

@rhukster
Copy link
Member

rhukster commented Sep 6, 2017

You should put a reset: true in the actions of your form. This way the form is cleared and reset after a successful submission.

@geogeorgejoseph
Copy link
Author

geogeorgejoseph commented Sep 6, 2017

After adding reset: true form fields resets,but refreshing the page the mail again send to same mail id

while page refreshing shows some alert message "The page that you're looking for used information that you entered. Returning to that page might cause any action you took to be repeated. Do you want to continue?"

The same issue exist in "http://demo.getgrav.org/soraarticle-skeleton/contact"

Please check

@rhukster
Copy link
Member

rhukster commented Sep 6, 2017

Can you paste a copy of your markdown page of your form definition? Please use a code block or s gist to maintain spacing

@geogeorgejoseph
Copy link
Author

geogeorgejoseph commented Sep 6, 2017

form.md.tar.gz

rhukster added a commit that referenced this issue Sep 6, 2017
@rhukster
Copy link
Member

rhukster commented Sep 6, 2017

Ok fixed this in develop branch

@rhukster rhukster closed this as completed Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants