Search Results: wegh edit

dxValidator PatternRule

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

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

dxValidator RangeRule

Reference
A validation rule that demands the target value be within the specified value range (including the range's end points).

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

dxValidator RequiredRule

Reference
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. If the validated value is null, false, or undefined. If the specified value has... message="" /> </Validator> </TextBox> ); } } export default App; Display the editor's name in the message jQuery index.js $(function

dxValidator StringLengthRule

Reference
A validation rule that demands the target value length be within the specified value range (including the range's end points).

App; Display the editor's name in the message jQuery index.js $(function() { $("#textBox").dxTextBox({ ... }) .dxValidator({ name: "password", // The error message

dxValidator Validation Result

Reference
A validation result.

before you attach callback functions to that promise. In the following example, a button validates an editor with an async rule. The status is checked in the onClick event handler: jQuery index.js