Zoo Visitor

User guide

Delete account

{exp:zoo_visitor:delete_form}

The delete account tag can be used to delete the currently logged in member account, excluding super-admin accounts.

Note

Make sure the membergroup setting “Can delete own account - deletes all posts, entries, and comments as well” is set to yes.

Delete account tag parameters

error_handling

Default off, set to “inline” to enable inline error handling.

secure_action

Forces the form to use https as its action. Defaults to “no”. Accepts yes/no

secure_return

Force the form to return to https. Defaults to “no”. Accepts yes/no

Example

{exp:zoo_visitor:delete_form error_handling="inline"}
<fieldset>
        When removing you account, you will have to provide your current password.
        <p>
                <label for="password" class="form-label">Current password:</label>
                <input type="password" name="password" id="password" class="form-text"  />
                {error:password}
        </p>
</fieldset>
<p>
        <input type="submit" value="Delete" class="button" />
</p>
{/exp:zoo_visitor:delete_form}