Non-Hubspot Forms (Wordpress Ninja Forms) Not Submitting Contacts

Hi,

Please let me know if this is posted in the wrong board. We are having an issue with some of our form submissions and wanted to see if anyone has experienced something similar. Hoping maybe someone has found a workaround. Unfortunately, at this time, a switch over to native hubspot forms is not possible.

We have forms created in wordpress using Ninja Forms and have the HubSpot All-In-One Marketing plug-in installed.

We’ve been finding that not all submissions are getting through to hubspot.

After doing some testing and troubleshooting, I’ve narrowed down the issue being caused by required fields. But it is not when someone submits without filling a required in (I know that the hubspot tracking code will still send it to hubspot).

The problem happens when someone does this:

1. Clicks on required field and clicks out of the field without filling it in
2. This triggers the warning message
3. Clicks back in, fills the form out and submits

If this is done, then the submission does not go into hubspot.

I see in the source code that Ninja Forms adds a “disabled” to the submit button and then removes it when the field is filled out. You can see by the html below.

<input id=“nf-field-79” class="ninja-forms-field submit-button nf-element " type=“submit” value=“GET STARTED”>

<input id=“nf-field-79” class="ninja-forms-field submit-button nf-element " type=“submit” value=“GET STARTED” aria-disabled=“true” disabled=“true”>

It also seems that instead of just adding and removing disabled attributes to the input, it rewrites the entire html element, which is what I think is the problem since I guess it would be considered a new form element loading after the initial page load - I read somewhere that the form needs to be loaded on page load for Hubspot code to scan it.

Sorry for the long post. Just wanted to give as much detail as I could hoping that someone else has come across this and figures a workaround for it.

Is there maybe a way to get the hubspot code to reset or rescan the html?

Thanks for any help anyone can provide.

Did you ever figure this out? We’re running into the same problem!