CMS Development

scubes13
Teilnehmer/-in

Forms: Redirect from Form to Meeting Page on Success (While passing data)

lösung

We have a HubSpot form that our office admin uses to take down the info for any inbound prospects. We are trying to set that form so that, upon submission, it will redirect the office admin to a meeting page where they can select a date and time with (here's the kicker) the contact's information being filled in from the original form....

Here is what I have currently tried, but the result is blank fields on the Meeting page....

<!--[if lte IE 8]>
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2-legacy.js"></script>
<![endif]-->
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script>
<script>
hbspt.forms.create({ 
portalId: 'XXXXXX',
formId: 'XXXXXXX',
redirectUrl: 'https://myhubspoturl.com/meetings/meetingname?firstName={{contact.firstname}}&lastName={{contact.lastname}}&phone={{contact.phone}}&email={{contact.email}}&company={{company.name}}'
});
</script>

What am I missing?

0 Upvotes
1 Akzeptierte Lösung
Kevin-C
Lösung
Trendsetter/-in | Partner
Trendsetter/-in | Partner

Forms: Redirect from Form to Meeting Page on Success (While passing data)

lösung
0 Upvotes
1 Antwort
Kevin-C
Lösung
Trendsetter/-in | Partner
Trendsetter/-in | Partner

Forms: Redirect from Form to Meeting Page on Success (While passing data)

lösung

Hey @scubes13 

 

Might this post help?

Kevin Cornett - Sr. Solutions Architect @ BridgeRev
0 Upvotes