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
The donation form should reset when go back from the donation confirmation page. #2091
Comments
@emgk are you seeing this when logged in? I'm not experiencing this. Can you create a video to further describe? |
@DevinWalker In my system(windows OS and Chrome) I am facing this issue for both logged-in or non-logged users. please check http://www.screencast.com/t/dx2XV8psuNr |
@emgk thank you for the explanatory video. 👍 I'm slotting this into the post-2.0 milestone so we can address it. |
Issue #2091 - Reset Form Fields on clicking browser back button
@DevinWalker @ravinderk |
Issue Overview
When the donation has been completed and we go back to the donation form page by the back button of the browser then, you will see the last transaction details already populated on that donation form without JS affected.
Expected Behavior
When donor goes back from the donation confirmation page, the donation form should reset.
Current Behavior
When we go back to the donation form page from the donation confirmation page, the last transaction values will be populated there.
Possible Solution
The page which contains the donation form adding these below code snippet would help:
document.getElementById("<give-form-id>").reset();
or we can use jQuery code.Steps to Reproduce (for bugs)
Todos
Let me know if there is any further detailed explanation needed.
The text was updated successfully, but these errors were encountered: