account_change_password.vm

This small template is displayed to a customer when they desire to change their password.

 

In addition to other standard variables like $cart, StoreFront system screens (display and post form data, such as checkout screens) have a $form variable that contains fields and data specific to that screen.  

Listed below are the form fields specific to this screen template.

Form Legend
(tick) → form field
(green star) → submit button

$form variables for template account_change_password.vm

Name

Type

Formal Syntax

Form Data?

Required on Post?

Comments/Sample Usage

email

string

$form.email

 (tick)

Y

 the customer's email. the email is the customer's primary key

errors

Array of Errors

$form.errors

 

 

see Error, see errors.vm

infoMessages

Array of string

$form.infoMessages

 

 

see Message, see info_messages.vm

memberPassword

string

$form.memberPassword

(tick) 

Y

 the existing password

newPassword

string

$form.newPassword

(tick) 

Y

 

newPasswordConfirm

string

$form.newPasswordConfirm

(tick) 

Y

Â