I have created a form in InfoPath with two buttons: 'Submit' and 'Cancel'. The 'submit' button when clicked, submits the data to the list library and closes the form. The 'cancel' button when clicked, closes the form and returns to the list library. I WANT instead, to be redirected to the home page of my SharePoint site when the user clicks the 'cancel' button.
Every answer I've found online mentions this " '&Source=http://url-of-page' " option that can be added to a form's button to redirect it to another web page. BUT no one is explaining it clearly, as I don't understand where to initiate this.
If anyone can give me a more clear set of instructions on how I can achieve this, it would be much appreciated! Even if it doesn't use that method I mentioned.
Many thanks! :)