Hey @camilleblaise the only “out of the box” way to do this would be through adding a query string within the url, if you link to the page or form you can add a query string into your URL to populate a value.
.
Outside of this the only way to do this would be through custom javascript, which would require some custom development skills.
Thanks for your reply and sorry for the delay from my side.
I created a custom javascript to force the value of an hidden value.
For some reasons, the script can’t retrive the input element with the method “document.getElementsByName()” until I select the element through “Developper > Developper Tools > Elements” in my Chrome navigator.
Do you any behavior from Hubspot that could prevent me to access the element properly before ‘inspecting’ it trough the developper tool ?
Thanks again and I keep on looking for a solution - if I find something, I will post here what I found
Hey @camilleblaise have you enabled the set as raw html feature on the form? If not this would be rendering inside an iframe which would likely affect this.