Forms adding in Template vs Forms Created in a Module - Missing Parameters
SOLVE
I built a custom form using a coded module - but the extra parameters aren't in my form - but they are in the default forms - so just looking as to how to code that in so the end user can avail of these extra functions like "Send Form notifications to specified email address instaed of the default", "Add to workflow" and "Send a follow-up email". I added in the custom code that seems like it would do the trick, but nothing changed in functionality.
Forms adding in Template vs Forms Created in a Module - Missing Parameters
SOLVE
Hi Stephanie,
I got it working now using the module.follow_up_type_simple and module.simple_email_for_live_id. I think the issue was I was trying to send an email from an old workflow that wasn't working correctly. So I double checked everything and got an active workflow I know was working correctly - and used that one and it worked. So I don't think the issue was with the code, moreso with the email I was trying send. Thanks for your help with this matter.
Forms adding in Template vs Forms Created in a Module - Missing Parameters
SOLVE
Added in the parameters to the form so you can see it in the front end now- however, nothing works. The default parameters they set in the form module and the ones they show on the website at this page ... https://designers.hubspot.com/how-to-create-a-form-module-in-a-custom-module - doesn't match up - something seems wrong in the documenation. Does anyone have a custom form working with the parameters for Send a followup email and the choice of which one? Thanks!
Forms adding in Template vs Forms Created in a Module - Missing Parameters
SOLVE
Hi Wade,
It looks like you're using the form field that appears in the custom module sidebar (your module.form_field2). The form field only has those four basic options (A form selector dropdown, A post-submit action radio select, A thank you message field and A form placeholder), as listed in the article. The form module, which you can use outside of custom modules (in coded templates or partials), does have those extra options.
However, following the instrucitons on the article, you can add in the extra parameters and create your own custom fields for the remaining options. For example, I can create a Boolean field called "Follow up?" with the variable name "my_custom_follow_up_boolean" and add that to my module like this:
The variable names you add in the HTML + HubL will have to match the variable names of the fields you've added on the right-hand side.
Forms adding in Template vs Forms Created in a Module - Missing Parameters
SOLVE
Hi Stephanie,
I got it working now using the module.follow_up_type_simple and module.simple_email_for_live_id. I think the issue was I was trying to send an email from an old workflow that wasn't working correctly. So I double checked everything and got an active workflow I know was working correctly - and used that one and it worked. So I don't think the issue was with the code, moreso with the email I was trying send. Thanks for your help with this matter.
Forms adding in Template vs Forms Created in a Module - Missing Parameters
SOLVE
Hi - Yes, I did that but it doesn't function. The controls show up in the front end so you can choose the yes/no and the email - but it doesn't actually do anything. I tried using both the module.parameter and module.form_field2.parameter - but neither works. Do you have any other suggestions?
Can you provide a working example that I can view and see the code – something isn’t right with this documentation regarding these extra fields. Thank you.