Saturday, June 6, 2009

InfoPath: redirect user to URL on Submit

Was testing my extranet. After a user submitted a Form, the user would be taken to the Sharepoint Document Library showing all completed forms. I didnt want this. OnSubmit I wanted users directed to a URL. There is no such option from within InfoPath.

The solution is to edit the initial link they launch from by editing the &Source portion of that URL. I replaced the &Source portion of the URL on my homepage with the &Source URL I wanted users returned to, and now once the user hits Submit, the user ends up back at the homepage.

1 comment:

  1. But is it possible to redirect users upon submit to another URL that is external to a Sharepoint site collection (e.g., www.microsoft.com)?

    ReplyDelete