Speak to our experts today 0333 004 0333
Speak to one of our experts today
User Guides

EKM Tag: [ekm:changepassword]

This tag is used to output a change password form on your shop. This allows logged in customers to change their account password. It could be used to display the form on a specific webpage or in a modal.

  • Tag Information
Basic Use
In it's basic use the tag will output the change password form with the default HTML and CSS.

[ekm:changepassword][/ekm:changepassword]
								
Advanced Use
In it's advanced use you can specify your own surrounding HTML and CSS enabling you to fully customise how change password form looks.

[ekm:changepassword]
    output_start='<div class="change-password">';
    output_item='
        <h4>[title]</h4>
        <p>[message]</p>
        <fieldset>
            <legend>Change Account Password</legend>
            <div> <label>[old_password_text]</label> [old_password] </div>
            <div> <label>[new_password_text]</label> [new_password] </div>
            <div>[button]</div>
        </fieldset>
    ';
    output_end='</div>';
    on_success_goto='/password-changed-12-w.asp';
[/ekm:changepassword]
								
Tag Attributes
Output Start
output_start='<div class="change-password">';

Define any HTML you want to output before the change password form is output.

Value
Description
{user defined}
Specify your own HTML or TEXT.
Output Item
output_item='';

Define any HTML you want to surround elements in the change password form as well as the order you wish them to be displayed in.

Value
Description
{user defined}
Specify your own HTML or TEXT.
[title]
Outputs the title of the form. By default the title is "Change Password".
[message]
Outputs any error message on the page. Any feedback or validation errors are output with this attribute tag.
[old_password]
Outputs the field for the customers old password.
[new_password]
Outputs the field for the customers new password.
[button]
Outputs the submit button to submit the changed password.
[old_password_text]
Outputs the label for the old password field.
[new_password_text]
Outputs the label for the new password field.
Output End
output_end='</div>';

Define any HTML you want to output after the change password form is output.

Value
Description
{user defined}
Specify your own HTML or TEXT.
Success Page
on_success_goto='';

Define the URL to your own custom confirmation page. By default the user will be presented with the page the form is currently on.

Value
Description
{user defined}
Specify your own URL.