0

I have created an infopath form in a sharepoint 2010 site, this is accessed via a button on the home page that redirects the user to the form in the browser. I have modified the source of the button link to redirect the user to a thank you page when the form is submitted. Unfortunately this also causes the user to be redirected to the thank you page if they close the form. Is there a way to change the source of my button link so that it will redirect to the thank you page when submitted, and redirect back to the home page when the form is closed? Alternatively can this be done with some control in the infopath form? I am also open to a javascript or jquery solution if possible.

0

I think the source in the URL is your only choice for redirecting user upon submitting in Infopath without server-side coding. I suggest moving out of infopath and trying different approach in customizing SharePoint. Infopath is quite limited in terms of customization.

|improve this answer|||||
  • Thanks for the response Billy, unfortunately using infopath is a requirement of the client so there is not much I can do there. – bberndt Jun 5 '18 at 20:44
0

In Infopath 2013, we created the Rule "Switch View", when the User click on Submit button. This redirect the User to "Thank you" View/Page. This worked for me.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.