lidation :register [_ params]
  (-&gt; params
      (gungnir.changeset/cast :account)
      (gungnir.changeset/create [:register/password-match?])))
</code></pre>
<p>After the page has loaded, you will need to initialize Gungnirâ€™s form validation.</p>
<pre><code class="language-clojure">(gungnir.ui.form/init)
</code></pre>
<p>The final result, with some styling.</p>
<p><img src="https://raw.githubusercontent.com/kwrooijen/gungnir.ui/master/assets/form-validation.gif" alt="form-validation" /></p>
<hr 