A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/form/api/simplevault/simplevault_validate_method/ below:

Website Navigation


JavaScript Form - validate Simple Vault Method

validate()

validates a SimpleVault control

validate(silent?: boolean, validateValue?: object[]): boolean;

Parameters: Returns:

true, if a control is valid; otherwise, false

Example

form.getItem("simplevault").validate(true);
// -> true/false

When called without the silent parameter or with this parameter set to false, the method invokes the BeforeValidate and AfterValidate events and modifies the control visually.

form.getItem("simplevault").validate(); // -> true/false
form.getItem("simplevault").validate(false); // -> true/false
Change log:

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4