Web Forms For Marketeers (WFFM)

Other topics

Submit the WFFM form programmatically

This example shows how to submit the WFFM form in code.

var controlResults = new List<ControlResult>();
controlResults.Add(new ControlResult(Pdf_Request_Form.Name.ItemID.ToString(), "Name", name, string.Empty));
controlResults.Add(new ControlResult(Pdf_Request_Form.Email.ItemID.ToString(), "Email", email, string.Empty));    
FormDataHandler.ProcessData(Pdf_Request_Form.ItemID, controlResults.ToArray(), new IActionDefinition[] {}, DependenciesManager.ActionExecutor);

Contributors

Topic Id: 9758

Example Ids: 30073

This site is not affiliated with any of the contributors.