Search code examples
sitecoreweb-forms-for-marketers

Sitecore Webform for Marketers response on success page


Using Sitecore and Web Forms for Marketers, how would one go about outputting the result from a webservice on the "success" page or similar.

  • We are using a custom Save-action, that is calling a WebService and providing the form field values.
  • The WebService are doing some security checks.
  • The WebService are querying an external MSSQL DB, and returning this result.

How could we output this response from the WebService?


Solution

  • It depends. If you have a generic success message per form, you can set the success page url to a page and load appropriate sublayout to pull from your service.

    If the success message varies based on the information the user entered, you could create a custom submit action and take care of routing to the right success url with url params to support the logic.