we have a wordpress website. it is connected to hubspot. we use elementor page builder for creating pages with forms. how can we selectively choose which forms to be submitted in hubspot and which not. I am tech familar but I am new to hubspot developement environment and I do not know where to start. I appriciate your guidance and help.
we have a wordpress website. it is connected to hubspot. we use elementor page builder for creating pages with forms. how can we selectively choose which forms to be submitted in hubspot and which not. I am tech familar but I am new to hubspot developement environment and I do not know where to start. I appriciate your guidance and help.
You can Begin by identifying the forms you want to integrate with HubSpot and those you don't. Then, using either JavaScript or PHP, you can create logic that determines whether a form submission should be sent to HubSpot based on certain criteria, such as the form ID or class. For instance, in JavaScript, you could intercept form submissions, check if the form meets your specified criteria, and then either proceed with the submission to HubSpot or prevent it.
Alternatively, in PHP, you could hook into the form submission process, perform similar checks, and handle the submission accordingly. By implementing this selective submission logic, you can ensure that only the desired forms are integrated with HubSpot while others remain unaffected.