We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24949
    • 0 Posts
    Login UpdateProfile is returning "lgnErrTpl" instead of the validation error message text. If there are no errors on the submit, then the record is updated correctly.


    [!UpdateProfile? &errTpl=`[[+error]]` ]]
    <div class="update-profile">
    <div class="updprof-error">[[+error.message]]</div>
    [[+login.update_success:if=`[[+login.update_success]]`:is=`1`:then=`[[%login.profile_updated? &namespace=`login` &topic=`updateprofile`]]`]]

    <form class="form" action="[[~[[*id]]]]" method="post">
    <input name="nospam:blank" type="hidden" />

    <label for="fullname">[[!%login.fullname? &amp;namespace=`login` &topic=`updateprofile`]]</label>
    <input id="fullname" name="fullname:required" type="text" value="[[+fullname]]" />
    <span class="errorLogin">[[+error.fullname]]</span>


    <label for="email">[[!%login.email]]</label>
    <input id="email" name="email:required:email" type="text" value="[[+email]]" />
    [[+error.email]]

    Any with ideas?