CMS Development

aidanxyz
Membre

Blog subscription form endpoint address

Résolue

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 Votes
1 Solution acceptée
aidanxyz
Solution
Membre

Blog subscription form endpoint address

Résolue

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

Voir la solution dans l'envoi d'origine

0 Votes
3 Réponses
aidanxyz
Solution
Membre

Blog subscription form endpoint address

Résolue

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

0 Votes
aidanxyz
Membre

Blog subscription form endpoint address

Résolue

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 Votes
webdew
Guide | Partenaire solutions Diamond
Guide | Partenaire solutions Diamond

Blog subscription form endpoint address

Résolue

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 Votes