User scope

FieldLabelComments
given_nameGiven name of the contact person
family_nameFamily name of the contact person
phonePhone number (mobile)This field is used in notification scenarios
emailE-mail addressThis field is used in notification scenarios
localeLocale usedThis will set the default locale of the forml
company_nameName of the company (if legal person)
tax_idIdentification number of the company (if legal person)
address_streetAddress - Street
address_numberAddress - Number
address_zipAddress - Zip code
address_cityAddress - City
address_countryAddress - Country

Personalize the user fields on the request creation model

In order to personalize the fields used in the creation modal, you can add the pnbx:requests:user:fields meta.

{
  "type": "flows",
  "attributes": {
    ...
    "steps": []
    ...
  },
  "meta": {
    "pnbx:requests:user:fields": [
      {
        "name": "given_name",
        "required": true
      },
      {
        "name": "family_name",
        "required": true
      },
      {
        "name": "phone",
        "required": true
      },
      {
        "name": "email",
        "required": true
      },
      {
        "name": "locale",
        "required": true
      },
      {
        "name": "company_name",
        "label": "Company name + legal form",
        "required": true
      },
      {
        "name": "tax_id",
        "label": "N° d'entreprise",
        "required": true
      },
      {
        "name": "address_street",
        "required": true
      },
      {
        "name": "address_number",
        "required": true
      },
      {
        "name": "address_zip",
        "required": true
      },
      {
        "name": "address_city",
        "required": true
      },
      {
        "name": "address_country",
        "required": true
      }
    ]
  }
}