Register - AFS

AFS Integration Guide

Product
AFS
AFS_Version
7.7
Category
Reference Guide

This widget allows account creations directly from the web page. It asks for several basic informations, including an email that will be used to sign in through the Login widget. This widget is only displayed if the authentication mode is set to INTERNAL (see CKS Configuration subobject for details).

Parameter

Type

Card

Default

Description

registerLabel

String

Optional

"Register"

Label of the main button

registerPanelTitle

String

Optional

"Register"

Title displayed at the top of the panel

usernameFieldLabel

String

Optional

"Email"

Label displayed in front of the username field

usernameFieldPlaceholder

String

Optional

""

Placeholder for the username field

passwordFieldLabel

String

Optional

"Password"

Label displayed in front of the password field

passwordFieldPlaceholder

String

Optional

""

Placeholder for the password field

passwordFieldRevealLabel

String

Optional

"Reveal Password"

Label for the checkbox used to toggle password visibility

firstnameFieldLabel

String

Optional

"Firstname"

Label displayed in front of the firstname field

firstnameFieldPlaceholder

String

Optional

""

Placeholder for the firstname field

lastnameFieldLabel

String

Optional

"Lastname"

Label displayed in front of the lastname field

lastnameFieldPlaceholder

String

Optional

""

Placeholder for the lastname field

cancelButtonLabel

String

Optional

"Cancel"

Label for the cancel registration button

submitButtonLabel

String

Optional

"Register"

Label for the submit registration button

outsideClickTogglePanel

Boolean

Optional

false

Indicates if the click has to be monitored to change the widget state. See tip below.

At integration time, the widget can be styled as a pop-up. The click on the main button toggles the presence of a CSS class on the widget top-level container, allowing to update the panel visibility. If styled as a pop-up, the outsideClickTogglePanel option can be useful to change the widget state when a click occurs outside of the widget panel, by removing the previously mentioned CSS class.