Is it possible to adapt this script to work with hubl form integrations? Like this one:
{% form
form_to_use="{{ module.popup_contents.field_group.form_field.form_id }}"
response_response_type="{{ module.popup_contents.field_group.form_field.response_type }}"
response_message="{{ module.popup_contents.field_group.form_field.message }}"
response_redirect_id="{{ module.popup_contents.field_group.form_field.redirect_id }}"
response_redirect_url="{{module.popup_contents.field_group.form_field.redirect_url}}"
%}
Thanks in advance!