CommonValidEmailControl
CommonValidEmailControl requests an email address from the shopper and validates the supplied value.

Configurable properties
| Property | Default | Valid values or format | Effect |
|---|---|---|---|
ButtonToClickString | Not specified | Sets the button used to submit the control. | |
CssClassString | Not specified | Sets the CSS class. | |
ValidatorsEnabledBoolean | Not specified | true, false | Controls whether validation is enabled. |
SitePages.config example
The following example loads CommonValidEmailControl.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: ButtonToClick, CssClass, ValidatorsEnabled.
<Control src="CommonValidEmailControl.ascx" />
Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.
Inherited properties
The control inherits shared visibility and shopper-access conditions from CyberStoreBaseControl.
Validate the control
- Display the control in the intended shopper form.
- Submit a valid email address and confirm the form accepts it.
- Submit an invalid email address and confirm the form presents its configured validation response.