summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form/-form-panel/validate.html
blob: aa039d01cbe513e72ea438ecaf5fbfba2f9c6c01 (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>FormPanel.validate - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.form</a>&nbsp;/&nbsp;<a href="index.html">FormPanel</a>&nbsp;/&nbsp;<a href="./validate.html">validate</a><br/>
<br/>
<h1>validate</h1>
(js) <a name="pl.treksoft.kvision.form.FormPanel$validate(kotlin.Boolean)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">validate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.FormPanel$validate(kotlin.Boolean)/markFields">markFields</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>