CMS Development

girdharis
Member | Diamond Partner
Member | Diamond Partner

The template did not publish on the HubSpot marketplace. Facing some error regarding HubSpot form?

Something's not right
  • The template contains a module: Hero Banner With Form field: banner_form that has a form ID currently set to baccb81c-0bc0-4460-ac69-26b48107db27. Please set the form ID to be null or empty.
  • The template has form with form ID currently set. Please set the form ID to be null or empty.

How can I fix this error?

 

Screenshot.png

0 Upvotes
6 Replies 6
kamlesh_k
Member | Diamond Partner
Member | Diamond Partner

The template did not publish on the HubSpot marketplace. Facing some error regarding HubSpot form?

hi @girdharis 

 

You need to select "select a form" Option on the template level where you have used the form.

Basically, You should have not selected any form then try to submit it.

 

Screenshot_1.png

0 Upvotes
Kevin-C
Recognized Expert | Partner
Recognized Expert | Partner

The template did not publish on the HubSpot marketplace. Facing some error regarding HubSpot form?

Hey @girdharis 

 

I'm not very familiar with publishing to the marketplace, but the errors lead me to believe that you cannot have a hardcoded form in the template. I'd imagine this is so because the forms IDs are unique per portal. Maybe try replacing it with the standard form module that ships with HS.

 

Let me know if this helps and good luck!

Kevin Cornett - Sr. Solutions Architect @ BridgeRev
girdharis
Member | Diamond Partner
Member | Diamond Partner

The template did not publish on the HubSpot marketplace. Facing some error regarding HubSpot form?

Hello @Kevin-C 

 

I replaced the form id but it,s did not work.

0 Upvotes
Kevin-C
Recognized Expert | Partner
Recognized Expert | Partner

The template did not publish on the HubSpot marketplace. Facing some error regarding HubSpot form?

Hey @girdharis 

 

Could you post the code and setting that are giving you issue?

Kevin Cornett - Sr. Solutions Architect @ BridgeRev
0 Upvotes
girdharis
Member | Diamond Partner
Member | Diamond Partner

The template did not publish on the HubSpot marketplace. Facing some error regarding HubSpot form?

Hello @Kevin-C,

 

Please find the Form Field Code 

 

<div class="row">
<div class="offset-lg-2 col-lg-8 col-md-12">
<div class="form-fields">
{% form
form_to_use="{{ module.form_field.form_id }}"
response_response_type="{{ module.form_field.response_type }}"
response_message="{{ module.form_field.message }}"
response_redirect_id="{{ module.form_field.redirect_id }}"
response_redirect_url="{{module.form_field.redirect_url}}"
gotowebinar_webinar_key="{{ module.form_field.gotowebinar_webinar_key }}"
%}
</div>
</div>
</div>

 

When I try to post this particular template on the marketplace then I face same error that mentions.

 

Screenshot.png

0 Upvotes
Kevin-C
Recognized Expert | Partner
Recognized Expert | Partner

The template did not publish on the HubSpot marketplace. Facing some error regarding HubSpot form?

Hey @girdharis 

 

Might you have a default form assigned to the module.form_field.form_id?

Kevin Cornett - Sr. Solutions Architect @ BridgeRev