Thank you very much for the reply and example code. The error I got:
Error: options.password must be a string
I’m using a standard input box.
<div class="ui fluid left icon input field">
<i class="user icon"></i>
<input id="username" type="text" placeholder="Enter a username...">
</div>
<div class="ui fluid left icon input field">
<i class="mail icon"></i>
<input id="email" type="email" placeholder="Enter your email address...">
</div>
<div class="ui fluid left icon input field">
<i class="lock icon"></i>
<input id="password" type="password" placeholder="Enter a unique password...">
</div>