At the last page, clicking submit is moving to the next page instead of redirecting to thank you page