blob: d1d30db70680151122eef9122c8e6d2c02bd069c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Form.validate - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form</a> / <a href="index.html">Form</a> / <a href="./validate.html">validate</a><br/>
<br/>
<h1>validate</h1>
<a name="pl.treksoft.kvision.form.Form$validate(kotlin.Boolean)"></a>
<code><span class="keyword">fun </span><span class="identifier">validate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.Form$validate(kotlin.Boolean)/markFields">markFields</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> true<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code>
<p>Invokes validator function and validates the form.</p>
<h3>Parameters</h3>
<p><a name="markFields"></a>
<code>markFields</code> - determines if form fields should be labeled with error messages</p>
<p><strong>Return</strong><br/>
validation result</p>
</BODY>
</HTML>
|