I have a O365 SharePoint list that has an InfoPath 2013 form created on it. The form has 2 views, the one the user fills out and the email view. I have a submit button on the form that does the following actions in this order:
Change to Email View
Email Form
Submit to list
Close form
In SharePoint I have changed the link to be a redirect so that when the form is submitted, it will go to a Thank You page. This works great on it's own but when I have the Change to Email View in my Submit actions it causes the form to do all the actions listed but once it closes, it opens a new form and locks the form and the ribbon so that you can't do anything except click on the left nav.
I believe what is happening is that somehow the switch view is causing SP or IP to see this as the redirect and disregard the one in the url. Question is, how can I email the read email version of the form (which is all text boxes) and still have it redirect to the thank you page? And I don't want to use a Thank You View as this will still leave the customer in the list view which is NOT where we want them to go.