HubSpot Ideas

Lars-Erik

Support for off-hubspot server side form rendering

Hi,

Through the years we've had varying success with using the Forms API to reproduce forms serverside in more complex CMS solutions that HubSpot CMS can do.

The forms documentation explicitly says this is the way to go. (On a sidenote, a support representative once told me the Forms API was not intended for such use, but I chose to disregard that statement.)

 

Doing serverside rendering of forms rather than embedding is getting more and more important now that browsers start upping the security by default. We can no longer rely on the postMessage mechanism to react to form submissions for instance. (tracking etc.)

 

The big downside of doing serverside rendering today is that we have to reproduce things like prefilled forms, validation, conditional fields and smart fields.

 

It would be super nice to be able to output forms with some set of recommended data attributes, include a "stock" script from HubSpot and get all those features "for free" even if the markup was served from the CMS of choice rather than an IFRAME.

 

Thoughs and ideas?

 

Lars-Erik

0 Upvotes