Home › Forums › Quform WordPress › Quform integration with HubSpot › Reply To: Quform integration with HubSpot
May 27, 2023 at 9:29 pm #35533
Participant
Hi Support:
I have Contracted the HubSpot, and apparently, as the QuForm is generating a Unique ID for each submission the HubSpot backend is counting each as a new form completely.
I did some research on your forum and someone recommended adding the following to the Function of Theme however, even with this solution each page will have its own unique Form ID.
I was wondering if there is any solution to correct this issue, as I’m sure many companies are using HubSpot integration.
add_action(‘quform_pre_display’, function (Quform_Form $form) {
static $count = 1;
$form->setUniqueId(‘Form’ . $count++);
});