How do you redirect a cancel button on a SharePoint online for list (newForm.aspx)

Wolfe, Thomas 76 Reputation points
2021-10-15T23:37:08.83+00:00

We have a form where if submitted goes to a thank you page, but the Cancel button also goes to the same page. How can we have the Cancel button redirect to a different page like the homepage?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,175 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.