Skip to content

TRegisterFormValues object

TRegisterFormValues is an object that represents an object of configuration parameters necessary to fire a register method which consists of the following fields:

  • mail: string
  • password: string
  • firstname: string (optional)
  • lastname: string (optional)
  • phone: string (optional)
  • street_1: string (optional)
  • zip_code: string (optional)
  • city: string (optional)
  • country_code: string (optional)

Where [key: string]: unknown represents all the custom additional fields that you can add to the form via an admin panel.