<li"><label for="password">[[%register.password]]
<span class="error">[[!+reg.error.password]]</span>
</label>
<input type="password" name="password" id="password" value="[[!+reg.password]]" />This question has been answered by BobRay. See the first response.
<li style="border-bottom:1px dashed #7e7e7e;"><label for="password">[[%register.password]]
<span class="error">[[!+reg.error.password]]</span>
</label>
<input type="hidden" name="password" id="password" value="[[!+reg.password:default=`12345678`]]]]" />