Skip to content

Instantly share code, notes, and snippets.

@JacobLett
Created July 13, 2020 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save JacobLett/cf1d41aadbc87eacafccf57ee8cc0fda to your computer and use it in GitHub Desktop.
Save JacobLett/cf1d41aadbc87eacafccf57ee8cc0fda to your computer and use it in GitHub Desktop.
default hubspot form module - options
{% if module.title is truthy %}
{% set no_title = False %}
{% else %}
{% set no_title = True %}
{% endif %}
{% if module.form.form_id %}
{% form
form_key='{{ name }}',
form_to_use='{{ module.form.form_id }}',
title='{{ module.title }}',
no_title='{{ no_title }}',
follow_up_type_simple='{{ module.follow_up_type_simple }}',
simple_email_for_live_id='{{ module.simple_email_for_live_id }}',
follow_up_type_automation='{{ module.follow_up_type_automation }}',
form_follow_ups_workflow_id='{{ module.form_follow_ups_workflow_id }}',
response_response_type='{{ module.form.response_type }}',
response_redirect_id='{{ module.form.redirect_id }}',
response_redirect_url='{{ module.form.redirect_url }}',
response_message='{{ module.form.message }}',
notifications_are_overridden='{{ module.notifications_are_overridden }}',
notifications_override_email_addresses='{{ module.notifications_override_email_addresses }}'
gotowebinar_webinar_key='{{ module.form.gotowebinar_webinar_key }}'
sfdc_campaign='{{ module.sfdc_campaign }}'
%}
{% else %}
{% form
title='{{ module.title }}',
no_title='{{ no_title }}',
%}
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment