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/input/input_validate_method/ below:

Website Navigation


JavaScript Form - validate Input Method

// the method validates the specified value
form.getItem("input").validate(true, "I am Input"); // -> true/false

// the method validates the current value
form.getItem("input").validate(true); // -> true/false

When called without parameters, or in case the silent parameter is set to false, the method invokes the BeforeValidate and AfterValidate events and visually modifies the control.

// the method validates the specified value
form.getItem("input").validate(false, "I am Input"); // -> true/false

// the method validates the current value
form.getItem("input").validate(); // -> true/false

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