CMS Development

aidanxyz
Membro

Blog subscription form endpoint address

resolver

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 Avaliação positiva
1 Solução aceita
aidanxyz
Solução
Membro

Blog subscription form endpoint address

resolver

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

Exibir solução no post original

0 Avaliação positiva
3 Respostas 3
aidanxyz
Solução
Membro

Blog subscription form endpoint address

resolver

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

0 Avaliação positiva
aidanxyz
Membro

Blog subscription form endpoint address

resolver

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 Avaliação positiva
webdew
Orientador(a) | Parceiro Diamante
Orientador(a) | Parceiro Diamante

Blog subscription form endpoint address

resolver

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 Avaliação positiva