summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form/-form-panel/validate.html
blob: 63dbb6b4e485a652bf37cc448ec273cd250c1e83 (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>
<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>