JqxValidator: Difference between revisions
Jump to navigation
Jump to search
| Line 8: | Line 8: | ||
== Properties and Methods == | == Properties and Methods == | ||
This control is well documented on the jqWidget's website: http://www.jqwidgets.com/jquery-widgets-documentation/. | |||
http://www.jqwidgets.com/jquery-widgets- | |||
{| class='wikitable' | {| class='wikitable' | ||
| Line 26: | Line 25: | ||
|- | |- | ||
| position || Sets the default position of the hints. | | position || Sets the default position of the hints. | ||
|} | |} | ||
== Example (Basic) == | == Example (Basic) == | ||
Revision as of 17:20, 7 April 2016
Description
jqxValidator can check the fields on a form. It should be the bottom item in the Project Explorer, so it can check all the controls above it.
jqWidgets is a commercial product, which depending on how you use it, requires a license fee. Complete details are on jqWidget's website. The product is well supported.
Properties and Methods
This control is well documented on the jqWidget's website: http://www.jqwidgets.com/jquery-widgets-documentation/.
| animation | Sets the animation type of hiding hints. |
| arrow | Sets whether the arrow of the hints will be shown. |
| closeOnClick | Sets whether the hints will be closed when the user clicks on them. |
| focus | Sets whether the jqxValidator will focus the first invalid input |
| onvalidationError | This is triggered when the form is validated with some errors. |
| onvalidationSuccess | This is triggered when the form is validated successfully. |
| position | Sets the default position of the hints. |
Example (Basic)
Function Button1_onclick()
$("#Validator1").jqxValidator("validate")
End Function
Example (JavaScript)
Button1.onclick = function() {
$("#Validator1").jqxValidator("validate");
}
Output
See above.
