Hi there,
When I use Wufoo Forms, it’s really easy to modify default values
Example:
<script type="text/javascript">var asdasdmj;(function(d, t) {
var s = d.createElement(t), options = {
'userName':'myusername',
'formHash':'zx300',
'host':'wufoo.com',
'defaultValues':'field34=<?php the_title(); ?>',
};
</script>
I could not find a solution for Hubspot,
I wish something like this:
<script>
hbspt.forms.create({
portalId: "XXXX",
formId: "XXXX",
defaultValues: { myfield33 : <?php the_title(); ?> }
});
</script>
or I wish
[hubspot type=form portal=111111 id=XXXX my-field-33="mytext"]
I have tried this:
https://developers.hubspot.com/manipulating-forms-with-jquery
Could not find a solution.
I don’t have an access my client’s account. They’re just giving shortcode or embeded JS code. Is there anything I can do?