I have an issue that you probably know: I need to add an ID to a form in the template of the page or in the module. With the old editor it was really simple, but how can I do it now? I've tried to inserted it in the code but id doesn't appear in the code of the page.
Thank you for your help!
Anther question:
the HubSpot support advice me to use the Slack group, but I see there are a lot of questions and no answers. How does it work, so?
Oooooh, got it. You're talking about an inline ID (i.e. <div id="form"></div>) to create an anchor link and not the actual form ID (unique identifier).
Try wrapping the form code in a div with the form ID:
<div id="form">
{# form markup here #}
</div>
This should work however it might depend on the way you have your form set up. Give it a try and if it doesn't work, provide a link or screenshot of your form.
Could you post the code for your module? When you insert a form it will automatically be given an id. What you probably want to do is wrap the form in a div with an ID. Remember, an ID should only be used once on a page so you might want to make the ID a text field in your module so you can create the ID when building the page itself.
I think I understand your prpoblem but let me know if I'm way off base. Have you tried adding a Form Field from the Fields section on the right hand side of your module? If you do, you'll be able to select the form you want. Once you select the form, you'll have to paste either the snippet or value (depending on how your code set up) in your module—most likely replacing the code you're currently using. I've pasted some screenshots below. Hopefully they help.