There may be times you need to extend or change the logic of the default submit action (S4S Generic Submit Action) shipped with S4S. For example, if you have a complex custom web form that requires data from different Salesforce objects or have form validations needs beyond what Sitecore or S4S has provided. You can write your own custom submit action for Sitecore Experience Forms and use S4S to communicate with the Salesforce Org according to your complex requirements. This code sample will guide you write a simple custom submit action which communicates with Salesforce.

  IMPORTANT: When you create your own Submit Action it will probably not work with the S4S Mapping Wizard. See Using Custom Submit Action With the S4S Sitecore Form Mapping Wizard.

Create Submit Action



Next Step

Using Custom Submit Action With the S4S Sitecore Form Mapping Wizard

Steps