Class XFormClientValidationRegexRule
Provides a container for a regular-expression client validation rule that is sent to the browser.
Inheritance
System.Object
XFormClientValidationRegexRule
Namespace: EPiServer.Web.Mvc.XForms
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class XFormClientValidationRegexRule : ModelClientValidationRegexRule
Constructors
XFormClientValidationRegexRule(String, String, String)
Initializes a new instance of the XFormClientValidationRegexRule class.
Declaration
public XFormClientValidationRegexRule(string validationtype, string errorMsg, string pattern)
Parameters
Type | Name | Description |
---|---|---|
System.String | validationtype | The validationtype. |
System.String | errorMsg | The error MSG. |
System.String | pattern | The pattern. |