CMS Development

pChausseC
Participant | Platinum Partner
Participant | Platinum Partner

Sending follow up email to form with hubl form tag

SOLVE

Hello,

 

I'm using the hubl form tag and I want to set up  form follow up email but its not working.

 {% form "my_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.response_redirect_url }}", gotowebinar_webinar_key="{{ module.form_field.gotowebinar_webinar_key}}", follow_up_type_simple="true", simple_email_for_live_id="{{module.simple_email_for_live_id}}", response={message='{{ module.form_field.message}}', redirect_url='{{ module.response_redirect_url }}'}

The form tag is in a custom module (hence the values come from module.__.__ )
As of right now, the redirection works, but the email is not sent.


I've taken the approach of removing the module on the template that uses it and simply putting the form tag, but I had the same results. So I have narrowed down the possible problem to my hubl form tag configuration. 
I've read through the hubl form tag doc and I feel like what I'm doing should work.
I'm wondering what could prevent the email from sending.

1 Accepted solution
pChausseC
Solution
Participant | Platinum Partner
Participant | Platinum Partner

Sending follow up email to form with hubl form tag

SOLVE

The issue was with the value passed for 'simple_email_for_live_id'. The module was used in an hubdb page and the email id came from a column named 'follow-up_email_id'. I changed the name of the column to 'follow_up_email_id' (replaced the hyphen with an underscore) and everything worked. 
Maybe dont let column names contain hyphens if it creates issues like this one? 

View solution in original post

2 Replies 2
sharonlicari
Community Manager
Community Manager

Sending follow up email to form with hubl form tag

SOLVE

Hey @pChausseC       

 

Thank you for the information provided. I'll tag a few experts.      

 

Hey @DavidFJones  @amwilie @jonchim  what would you advise @pChausseC

 

Thanks

Sharon


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !




pChausseC
Solution
Participant | Platinum Partner
Participant | Platinum Partner

Sending follow up email to form with hubl form tag

SOLVE

The issue was with the value passed for 'simple_email_for_live_id'. The module was used in an hubdb page and the email id came from a column named 'follow-up_email_id'. I changed the name of the column to 'follow_up_email_id' (replaced the hyphen with an underscore) and everything worked. 
Maybe dont let column names contain hyphens if it creates issues like this one?