Extending Web to Lead html form

Collapse
X
Collapse
+ More Options
Posts
 
  • Time
  • Show
Clear All
new posts
  • andreis
    Junior Member
    • Jul 2022
    • 4

    Extending Web to Lead html form

    Hi,

    I am completely new to EspoCRM, so I am trying to learn.

    I am trying to make a html form to capture a lead. Therefore I am using the example from the documentation: https://docs.espocrm.com/administrat...ng-api-request
    It works fine, but now I want to extend the web form to more fieldsto include phone number, city and description. Somehow they are not captured, although the payload is like this:
    {
    "firstName": "FIRST_NAME",
    "lastName": "LAST_NAME",
    "emailAddress": "EMAIL_ADDRESS",
    "phoneNumber": "PHONE_NUMBER",
    "addressCity": "ADDRESS_CITY",
    "description": "DESCRIPTION"
    }

    Could you please advice. Maybe my html is not correct on input type ...

    Thanks,
    Andrei
  • Kharg
    Senior Member
    • Jun 2021
    • 413

    #2
    Take a look at Dubas video: https://www.youtube.com/watch?v=Fe2V5-mry8g

    Comment

    Working...