Search Results: wegh edit

dxValidator Validation Rules

Reference
This section lists validation rules that can be used within the dxValidator.

. View Demo See Also Data Validation CompareRule A validation rule that demands that a validated editor has a value that is equal to a specified expression. To specify... RequiredRule A validation rule that demands that a validated field has a value. Use this rule type to ensure the target editor value is specified. The rule will be broken in the following cases

dxValidator AsyncRule

Reference
A custom validation rule that is checked asynchronously. Use async rules for server-side validation.

message="" /> </Validator> </TextBox> ); } } export default App; Display the editor's name in the message jQuery

dxValidator CustomRule

Reference
A rule with custom validation logic.

message="" /> </Validator> </TextBox> ); } } export default App; Display the editor's name in the message jQuery index.js $(function... the rule should be always checked for the target value or only when the target value changes. If you set this property to false, the rule is checked only when you change an editor's value. If you enter

dxValidator EmailRule

Reference
A validation rule that requires that the validated field match the Email pattern.

message="" /> </Validator> </TextBox> ); } } export default App; Display the editor's name in the message jQuery index.js

dxValidator NumericRule

Reference
A validation rule that demands that the validated field has a numeric value.

; </TextBox> ); } } export default App; Display the editor's name in the message jQuery index.js $(function() { $("#textBox").dxTextBox({ ... }) .dxValidator