Form doesn't automatically refresh on website after submission. How to resolve?