CMS Development

scubes13
Participant

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

SOLVE

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 Accepted solution
Kevin-C
Solution
Recognized Expert | Partner
Recognized Expert | Partner

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

SOLVE
0 Upvotes
1 Reply 1
Kevin-C
Solution
Recognized Expert | Partner
Recognized Expert | Partner

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

SOLVE

Hey @scubes13 

 

Might this post help?

Kevin Cornett - Sr. Solutions Architect @ BridgeRev
0 Upvotes