You can specify an element input to contain a valid email address, or nothing at all. A validation rule applies one or more validation methods to an input element.You can specify validation rules via metadata or via plugin settings (option ).Optionally: Each input can have a label associated with it, where the 'for' attribute of the label refers to the 'id' attribute of the input.It's also a common practice to have 'id' and 'name' attributes with the same value, although keep in mind that since this plugin does not use the 'id' attribute, this is not mandatory.
Provided are a set of default validation methods, such as required.A 'name' attribute must also be unique to the form, as this is how the plugin keeps track of all input elements.However, each group of radio or checkbox elements will share the same 'name' since the value of this grouping represents a single piece of the form data.The priorities are as follows: A custom message (passed by plugin options), the element's title, the default message.When using data attributes, you can set a generic message for all rules, or specific messages per rule: ).
Run(form1) End Sub End Class Public Class Form1 Inherits System. Protected Overloads Overrides Sub Dispose(By Val disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components. Dispose(disposing) End Sub Friend With Events Text Box1 As System.