To Achieve the Custom Submit
event you have to create your Custom Event please follow the below steps:
1) Add class in your project and Inherit with SubmitActionBase
public class EmailMe : SubmitActionBase<string>
{
public EmailMe(ISubmitActionData submitActionData) : base(submitActionData)
{
}
protected override bool Execute(string data, FormSubmitContext formSubmitContext)
{
//to get the form values
foreach (var viewModel in formSubmitContext.Fields)
{
PropertyInfo property = postedField.GetType().GetProperty("Value"); //value property
object postedValue =
(object)property != null ? property.GetValue((object)postedField) : (object)null; //get value
property = postedField.GetType().GetProperty("Title"); //title property
object postedTitle =
(object)property != null ? property.GetValue((object)postedField) : (object)null;//title value
string title = postedTitle?.ToString();
var postedFieldName = ((Sitecore.ExperienceForms.Mvc.Models.Fields.FieldViewModel)postedField).TemplateId;
}
// now you have your form fields values now you can use your logic here
}
}
2) once you done with this now you have to add your custom action in your sitecore, follow below image to add Submit Action Template.

3) When you add new Submit Action Template, give an appropriate name and assign the below values:

4) once you done this you will find your submit action in Submit actions

Hope this will helps you.