CMS Development

aidanxyz
メンバー

Blog subscription form endpoint address

解決

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 いいね!
1件の承認済みベストアンサー
aidanxyz
解決策
メンバー

Blog subscription form endpoint address

解決

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

元の投稿で解決策を見る

0 いいね!
3件の返信
aidanxyz
解決策
メンバー

Blog subscription form endpoint address

解決

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

0 いいね!
aidanxyz
メンバー

Blog subscription form endpoint address

解決

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 いいね!
webdew
ガイド役 | Diamond Partner
ガイド役 | Diamond Partner

Blog subscription form endpoint address

解決

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 いいね!