User scope
Field | Label | Comments |
---|---|---|
given_name | Given name of the contact person | |
family_name | Family name of the contact person | |
phone | Phone number (mobile) | This field is used in notification scenarios |
E-mail address | This field is used in notification scenarios | |
locale | Locale used | This will set the default locale of the forml |
company_name | Name of the company (if legal person) | |
tax_id | Identification number of the company (if legal person) | |
address_street | Address - Street | |
address_number | Address - Number | |
address_zip | Address - Zip code | |
address_city | Address - City | |
address_country | Address - Country |
Personalize the user
fields on the request creation model
user
fields on the request creation modelIn 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
}
]
}
}
Updated 16 days ago