This is a simple web application that allows you to search for contacts using various criteria.
-
Fill in one or more of the search fields:
- First Name: Search by the first name of the contact.
- Last Name: Search by the last name of the contact.
- Company: Search by the company name of the contact.
-
Click the Search button to initiate the search.
-
The search results will be displayed in a table below.
The search form consists of three input fields and a search button.
- First Name: Input field to enter the first name of the contact.
- Last Name: Input field to enter the last name of the contact.
- Company: Input field to enter the company name of the contact.
- Search Button: Click to perform the search based on the entered criteria.
The search results will be displayed in a table with the following columns:
- Contact ID: The unique identifier of the contact.
- First Name: The first name of the contact.
- Last Name: The last name of the contact.
- Email: The email address of the contact (clickable link to send an email).
- Last Modified Date: The date when the contact was last modified.
- Create Date: The date when the contact was created.
If no results are found, a message will be displayed in the table.
- The frontend of the application uses Bootstrap for styling.
- The search functionality is implemented using JavaScript and jQuery.
- The search is performed through an AJAX call to a PHP script (
search_contacts.php
). - The PHP script interacts with the HubSpot API to retrieve search results based on the provided criteria.
- You need to replace
YOUR_HUBSPOT_ACCESS_TOKEN
with your actual HubSpot access token in the PHP script.
Please note that this document is a simplified overview. Refer to the original HTML code for the complete implementation details. For more details, refer to the HubSpot Contacts API Documentation.
For the actual HTML and JavaScript code, please refer to the original source above.