CommonRequiredPasswordControl

CommonRequiredPasswordControl displays two password fields and validates the entered password values.

Password and confirmation fields with required validation.

Configurable properties

Property Default Valid values or format Effect
ButtonToClick
String
Not specified   Sets the button used to submit the control.
CssClass
String
Not specified   Sets the CSS class.
passwordtext
String
Not specified   Gets the password text.
ValidatorsEnabled
Boolean
Not specified true, false Controls whether validation is enabled.

SitePages.config example

The following example loads CommonRequiredPasswordControl.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: ButtonToClick, CssClass, passwordtext, ValidatorsEnabled.

<Control src="CommonRequiredPasswordControl.ascx" />

Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.

Inherited properties

The control inherits shared visibility and shopper-access conditions from CyberStoreBaseControl.

Validate the control

  1. Display the control in the intended shopper form.
  2. Confirm that matching password values are accepted.
  3. Confirm that missing or mismatched values are rejected by the surrounding form.

This site uses Just the Docs, a documentation theme for Jekyll.