Blog, Website & Page Publishing

frederikgabriel
Member

Problems w. HubStrap Lite Landing Template Form

SOLVE

I've recently made a landing page with HubStrap Template - everything looks great but..

I can't get the form to work.  The form won't update to my chosen HS form.


Please advise.

0 Upvotes
1 Accepted solution
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Problems w. HubStrap Lite Landing Template Form

SOLVE

Welcome, @cmulvey.

 

I was able to identify the source of the issue in the HubStrap template code.

 

In the HubStrap Text And Form Module, the vendor changed the "Select Form" field's HubL variable name from the default value form_field to form, but neglected to update the references to this field in the HubL statements on lines 15-22 AND lines 34-41.

 

The code below:

{% 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 }}"
%}

should be changed to:

{% form
  form_to_use="{{ module.form.form_id }}"
  response_response_type="{{ module.form_field.response_type }}"
  response_message="{{ module.form.message }}"
  response_redirect_id="{{ module.form.redirect_id }}"
  response_redirect_url="{{module.form.redirect_url}}"
  gotowebinar_webinar_key="{{ module.form.gotowebinar_webinar_key }}"
%}

I'll work to make sure the vendor receives this feedback. If you've already contacted Inbound Pixels, please also direct them to this post.

Isaac Takushi

Associate Certification Manager

View solution in original post

3 Replies 3
jennysowyrda
Community Manager
Community Manager

Problems w. HubStrap Lite Landing Template Form

SOLVE

Hi @frederikgabriel

 

Can you please share more information and specifics. If you can send along public links to the page you are working on, what you are expecting to see vs. what you are seeing, and as much information as possible, that would be great!

 

The more screenshots, details and information you can provide, the better the Community can assist!

 

Thank you,
Jenny

0 Upvotes
cmulvey
Participant

Problems w. HubStrap Lite Landing Template Form

SOLVE

Hi there,

 

I'm also having a problem with the HubStrap Lite landing page template. I cannot get the form to swap out to my own form. This is the page I am working on. I have been trying to switch out the "Get Free Widget" form on both the front and backend and have also reached out to the developer or assistance. My guess is there's some error in the code but I can't find anything obvious. Screenshots of what's showing on the site vs. what's selected in the editor. Thank you!

 

Form on the websiteForm on the websiteRevive Renovations form selected in editorRevive Renovations form selected in editor

0 Upvotes
IsaacTakushi
Solution
HubSpot Employee
HubSpot Employee

Problems w. HubStrap Lite Landing Template Form

SOLVE

Welcome, @cmulvey.

 

I was able to identify the source of the issue in the HubStrap template code.

 

In the HubStrap Text And Form Module, the vendor changed the "Select Form" field's HubL variable name from the default value form_field to form, but neglected to update the references to this field in the HubL statements on lines 15-22 AND lines 34-41.

 

The code below:

{% 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 }}"
%}

should be changed to:

{% form
  form_to_use="{{ module.form.form_id }}"
  response_response_type="{{ module.form_field.response_type }}"
  response_message="{{ module.form.message }}"
  response_redirect_id="{{ module.form.redirect_id }}"
  response_redirect_url="{{module.form.redirect_url}}"
  gotowebinar_webinar_key="{{ module.form.gotowebinar_webinar_key }}"
%}

I'll work to make sure the vendor receives this feedback. If you've already contacted Inbound Pixels, please also direct them to this post.

Isaac Takushi

Associate Certification Manager