Force HubSpot module to take values passed via custom variables instead of ones set via page editor
I am using a template in which I use a module and pass it custom values, that I need to be predefined only for that template.
The other instances of said module, should take the values provided via the UI when editing the page.
It works fine when creating a page, but when I open the page in edit mode and alter some value, it stops using the custom variables and starts using the values stored in HubSpot, and this cannot be undone.
I need to force the module to use the custom values, even if the user edits those in the page editor.
This is how I am passing those values (variables are set before, of course):
I would go for a different approach, you could pass the values in different variables instead of the ones that you registered fields.json, that way, you can do something like this: