CMS Development

aidanxyz
Mitglied

Blog subscription form endpoint address

lösung

Hi everyone,

 

I want to make a custom alternative of the default @hubspot/blog_subscribe module, with the difference being that my module needs a custom styling and the form submission should happen through AJAX without page reload.

 

Where can I get the endpoint address to put it in the action attribute of my html form?

0 Upvotes
1 Akzeptierte Lösung
aidanxyz
Lösung
Mitglied

Blog subscription form endpoint address

lösung

OK, all that info comes with a snippet from the Form field.

Lösung in ursprünglichem Beitrag anzeigen

0 Upvotes
3 Antworten
aidanxyz
Lösung
Mitglied

Blog subscription form endpoint address

lösung

OK, all that info comes with a snippet from the Form field.

0 Upvotes
aidanxyz
Mitglied

Blog subscription form endpoint address

lösung

Thanks, @webdew 

 

The question still remains open, where do I get the endpoint address and other required payload data that's needed for the subscribe request?

0 Upvotes
webdew
Ratgeber/-in | Diamond Partner
Ratgeber/-in | Diamond Partner

Blog subscription form endpoint address

lösung

Hi @aidanxyz ,

In that case, don't use HubSpot default form, but create a separate module with custom form using ajax as there is no option to use ajax with default forms.

Hope this helps!
If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regard.

0 Upvotes