Refreshing pages and resubmitting forms
I have a list of tasks on a page and when a user submits a new task the page is reloaded, the submission to the database is processed at the top, and then when the list appears it has the new task in it.
This works, no problem.
But if the user refreshes the screen after that then the form is resubmitted and the data ends up in the database again.
Is there a way to get rid of the form data after it has been submitted and make the page act as if no form submission has been made?