Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Element’s Name

Default value(s) or Behaviour(s)

How to configure it

Default settings

Included in V0

Same rules for all

Title of the page

  • Text : Sign up

  • Language available : FR, EN, DE

i18n: page.title.signup

Introductory text

  • Text : Registration is required to join the Digital Media Center. Once your request has been validate, you will receive a confirmation email.

  • Language available : FR, EN, DE

i18n:

signup.description

Firstname field

  • Type : input text

  • Rules :

    • Mandatory

    • Green Checkbox appear when user has correctly filled in the field.

  • Language available : FR, EN, DE

Lastname field

  • Type : input text

  • Rules :

    • Mandatory

    • Green Checkbox appear when user has correctly filled in the field.

  • Language available : FR, EN, DE

Email field

  • Type : input text

  • Rules :

    • Text : Your email

Mandatory
    • Green Checkbox appear when user has correctly filled in the field

    • Control of the email

adress
    • address format

  • Language available : FR, EN, DE

Email tooltip

  • Type : tooltip

  • Rules :

    • Text : Your email will not be shared.

    • Mandatory

    • Green Checkbox appear when user has correctly filled in the field.

  • Language available : FR, EN, DE

Password Field

  • Type : password field

  • Mandatory

  • Control of password security compliance

  • Text under the field : At least 8 characters, including 1 number, 1 capital letter and 1 punctuation mark.

  • Language available : FR, EN, DE

Password field tooltip

  • Type : tooltip

  • Text (under password field) : At least 8 characters, including 1 number, 1 capital letter and 1 punctuation mark.

  • Language available : FR, EN, DE

Company

  • Type : Input text

  • Rules :

    • Mandatory

    • Green Checkbox appear when user has correctly filled in the field.

  • Language available : FR, EN, DE

Terms of use checkboxCheckbox

  • Text : I accept the terms of use

  • Type : checkbox

  • Rules :

    • Mandatory

    • When user clicks on “terms of use”, he’s redirected to the terms of use page

  • Language available : FR, EN, DE

Sign up button

  • Text : Sign up

  • Type : button

  • Rules : (When users clicks on this button) :

    • he’s redirected to a confirmation page (to be confirmed) only if he correctly filled in the form an email is sent to all administrators

    • Button is not clickable until the the form is OK

  • Language available : FR, EN, DE

Cancel button

i18n : signup.signupForm.inscriptionButton

  • I already have an account link

  • Text : CancelI already have an account

  • Type : buttonlink

  • Rules : (When user clicks on this button) :

    • he’s redirected to the login page

  • Language available : FR, EN, DE

i18n : signup.signupForm.cancelButton

Optional settings (not in V0)

Additionnal Additional fields can be added to the form

  • Civility

  • Country

  • Language

  • Contact

  • Profile picture

...

Same rules as for desktop

Advanced configuration

The registration form is automatically generated based on the REST resource for storing account requests.

Adapting the registration form structure

As a default, the REST resource is /data/userregistration which targets the structure userregistration.

You can change the target resource by overriding the default value in config entry $.register.targetPath.

Adding fields to the registration form is a 2 steps process:

  1. Adapt the structure targeted by the REST resource (add / remove / edit fields of userregistration)

  2. Update the restful service description so that changes are reflected on the REST service

Enrich automatically generated form

Based on the structure configuration, the form fields will automatically honour the structure properties description: type, label, compulsoriness, max-length. You can still enrich this default configuration by adding config in portal to fine tune the registration form.

Adding properties to fields description for the targeted structure can be done in $.edit.<targetstructure>.fields

For instance, the default email property in the base configuration is defined as follow:

Code Block
languagejson
{
  default: {
    "validators": {
      "email": null,
    },
    "description": {
      "tip-i18n": "signin.loginForm.mail.description"
    }
  }
}

Such configuration will apply a validation rule to the field to check that the value is a valid email address and add a description below the field corresponding to the tip-i18n key.

Disable the accept terms of use

You can deactivate (not show) the “I accept terms of use” checkbox by setting $.register.displayCGU to false