An approach may consist on extending the default FormsControl
and overriding the Submit_Click method. In there you can place the logic. For instance, it may look like:
Keep in mind that you need to register the custom control in the Toolbox. If you prefer to replace the default Forms widget go to Administration>>Settings>>Advanced>>Toolboxes>>PageControls>>Sections>>ContentToolboxSection>>Tools>>FormsControl and replace what is in the text box "Control CLR Type or Virtual Path" by the type of the custom control, in this case SitefinityWebApp.MyControls.CustomFormsControl. After that save the changes.
CustomFormsControl : FormsControl
sender, EventArgs e)
var emailField =
.FieldControls.Where(c => c.MetaField.FieldName ==
Regex re =
// simple regular expression to check email.
Otherwise just click in the Create new button in order to create a new widget as shown in this picture and define at least the main fields (Control CLR Type or Virtual Path , Name and Title) as shown here.
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal
and vote to affect the priority of the items