Hi there
I got a simple form working on my site deployed on Netlify (https://sortdesk.com/).
The form contains 4 fields: names, email, message and privacyConsent. However, when enabling a webhook notification I receive following payload:
{
"number": 4,
"title": "ddd",
"email": "peterpan@yopmail.com",
"name": null,
"first_name": null,
"last_name": null,
"company": null,
"summary": "<strong>ddd</strong> ddd",
"body": "ddd",
"data": {
"names": "ddd",
"email": "peterpan@yopmail.com",
"message": "ddd",
"privacyConsent": "true",
"ip": "84.xxx.81.xxx",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
"referrer": "https://sortdesk.com/de/"
},
"created_at": "2020-12-13T19:10:05.563Z",
"human_fields": {
"Names": "ddd",
"Email": "peterpan@yopmail.com",
"Message": "ddd",
"I have read and agree to the <a>Privacy Policy</a>": "true"
},
"ordered_human_fields": [
{
"title": "Names",
"name": "names",
"value": "ddd"
},
{
"title": "Email",
"name": "email",
"value": "peterpan@yopmail.com"
},
{
"title": "Message",
"name": "message",
"value": "ddd"
},
{
"title": "I have read and agree to the <a>Privacy Policy</a>",
"name": "privacyConsent",
"value": "true"
}
],
"id": "xxx",
"form_id": "xxx",
"site_url": "https://sortdesk.com",
"form_name": "contactForm"
}
What are the first_name, last_name, company etc. fields all about? I searched my source code for potential legacy code but couldn’t match any of these terms.
Thanks.