# Include form fields as redirect URL parameters on an embedded form

**URL:** <https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [April 3, 2017, 11:29pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901 "2017-04-03T23:29:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![lloydsilver](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lloydsilver/32/75413_2.png) [@lloydsilver](https://community.hubspot.com/u/lloydsilver)\
**Post date:** [April 3, 2017, 11:29pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/1 "2017-04-03T23:29:39Z")

</div>

I need to embed a HS form on an external (not CoS) website. And when the user submits the form, the redirect URL needs to include form fields as parameters.

Is this possible?

We figured out a way of doing this on a CoS landing page using a native HS form, but it was pretty tricky. In this case, I need to embed the form on an external page rather than use a CoS page.

What I’m trying to accomplish is capture the lead’s info (name, company, email) and then pass that info off to a scheduling app which can use parameters to pre-fill a scheduling form so the user doesn’t have to re-enter their info. And I want to do it through a HS form first so that we capture the lead and source information in HS. If we did it straight in the scheduling app then we could create a lead using Zapier but without Source info.

Every other form app I’ve used has been able to do this. Still surprised HS can’t do it off the shelf. But I hope someone has a creative workaround. Thanks.

---

<div class="post-metadata">

**Author:** ![derekcavaliero](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/derekcavaliero/32/24634_2.png) [@derekcavaliero](https://community.hubspot.com/u/derekcavaliero)\
**Post date:** [April 4, 2017, 1:11pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/2 "2017-04-04T13:11:04Z")

</div>

You could achieve this by using the onFormSubmit callback and switching the form to use an inline message instead of a redirect (explained below).

```auto
hbspt.forms.create({
 portalId: 'xxxxxxxx',
 formId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
 inlineMessage: 'Your submit message here',
 onFormSubmit: function($form){
 setTimeout( function() {
 var formData = $form.serialize();
 window.location = "http://www.yoururl.com?" + formData;
 }, 250 ); // Redirects to url with query string data from form fields after 250 milliseconds.
 }
});

```

Because you have access to the jQuery $form object inside the onFormSubmit listener you can serialize the forms data and append it to a url to redirect to after the form is submitted. **This only works if you have the inlineMessage set and disable the redirectUrl for the form.**

See if that helps you out.

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [July 16, 2018, 8:07pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/3 "2018-07-16T20:07:19Z")

</div>

This worked great for me, just wanted to say thanks!

---

<div class="post-metadata">

**Author:** ![Kristeru](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kristeru/32/75413_2.png) [@Kristeru](https://community.hubspot.com/u/Kristeru)\
**Post date:** [August 16, 2019, 4:12pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/4 "2019-08-16T16:12:07Z")

</div>

Could someone help me figure out why @derekcavaliero’s solution is not working? I implemented his solution on the page [https://www.krister.com/language-of-leadership-assessment](https://www.krister.com/language-of-leadership-assessment).

The inline message is appearing when I submit the form, but the page is not redirecting to the page that I put into the window.location.

Here’s the code that I put into Squarespace. I **bolded** the changes I made to your solution:

```auto
!--[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: "xxxx",
 formId: "xxxxx",
 inlineMessage: 'Your submit message here',
 onFormSubmit: function($form){
 setTimeout( function() {
 var formData = $form.serialize();
 window.location = "https://www.krister.com/success-language-of-leadership-assessment?" + formData;
 }, 250 ); // Redirects to url with query string data from form fields after 250 milliseconds.
 }
});
</script>

```

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [August 20, 2019, 9:30pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/5 "2019-08-20T21:30:24Z")

</div>

Hey, @Kristeru.

I’m pretty sure this is because your form is loading in an `iframe`.

I see that you have one of the new “themes” enabled [here](https://app.hubspot.com/forms/4306041/editor/ee5d454a-c3a8-4a7b-bbd6-f13920b6ef60/edit/test) in the form editor’s _Style & preview_ tab. This causes the form to render in an `iframe`, so I’d recommend reverting to the “old theme” if you need to customize the embed code.

---

<div class="post-metadata">

**Author:** ![Albo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/albo/32/21752_2.png) [@Albo](https://community.hubspot.com/u/Albo)\
**Post date:** [December 17, 2019, 3:25am UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/6 "2019-12-17T03:25:37Z")

</div>

@derekcavaliero

Can you see any reason why this modifying the HubSpot form embed script this way would interfere with how HubSpot receives the data upon submission?

For whatever reason, when I use this method on a Firefox browser the contact is not passed back to HubSpot. Chrome and Safari both function as intended. The default (non-modified) script works fine in Firefox. All are standard browsers with default configurations, \*not\* in incognito.

\<!--[if lte IE 8]\>  
\<script charset=“utf-8” type=“text/javascript” src=“[//js.hsforms.net/forms/v2-legacy.js](https://js.hsforms.net/forms/v2-legacy.js)”\>\</script\>  
\<![endif]--\>  
\<script charset=“utf-8” type=“text/javascript” src=“[//js.hsforms.net/forms/v2.js](https://js.hsforms.net/forms/v2.js)”\>\</script\>  
\<script\>  
hbspt.forms.create({  
portalId: “xxxxxxxx”,  
formId: “xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx”,  
inlineMessage: ‘Just a moment please’,  
onFormSubmit: function($form){  
setTimeout( function() {  
var formEmail = $form.find(‘input[name=“email”]’).val();  
window.location = “[https://www.xxxxx.com/xxxx/?email=](https://www.xxxxx.com/xxxx/?email=)” + encodeURIComponent( formEmail );  
}, 100 ); // Redirects to url with query string data from form fields after 100 milliseconds.  
}  
});  
\</script\>

Thank you!

---

<div class="post-metadata">

**Author:** ![derekcavaliero](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/derekcavaliero/32/24634_2.png) [@derekcavaliero](https://community.hubspot.com/u/derekcavaliero)\
**Post date:** [December 18, 2019, 12:57pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/7 "2019-12-18T12:57:48Z")

</div>

@Albo

Try setting your setTimeout to something higher than 100 milliseconds and see if that helps. I haven’t had or seen this issue before - and in theory it shouldn’t because the onFormSubmit is processed after the form is validated and request is sent.

My theory is that if you redirect too quickly it may terminate the XHR request over to HubSpot’s servers. I haven’t actually tested this issue myself yet though - let me know what you find.

---

<div class="post-metadata">

**Author:** ![Albo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/albo/32/21752_2.png) [@Albo](https://community.hubspot.com/u/Albo)\
**Post date:** [December 18, 2019, 5:52pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/8 "2019-12-18T17:52:45Z")

</div>

@derekcavaliero You’re spot on! Setting the redirect back to 250 ms resolved the issue. Thank you!

---

<div class="post-metadata">

**Author:** ![dimitreliasb](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dimitreliasb/32/59868_2.png) [@dimitreliasb](https://community.hubspot.com/u/dimitreliasb)\
**Post date:** [May 7, 2020, 6:22pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/9 "2020-05-07T18:22:10Z")

</div>

@derekcavaliero I am trying to get this solution to work. Your snippet has come the closest to solving our issue however what happens with this code it redirects the page to a 404. Basically it pulls ALL the form data i think when we really only need to pull the email

So the URL string is full of parameters and at some point near the end of that screen it breaks the link.

The URL string looks like this:

`?firstname=MYNAME&lastname=MYLASTNAME&email=MYEMAIL&company=&number_of_cnc_machines=0&zip=46268&do_you_currently_use_automation=No&hours_per_shift=&shifts_per_weekday=&shifts_per_weekend=&weeks_per_year=&operator_wages_per_hour=&operator_benefit=&system_cost=&hs_context=%7B%22rumScriptExecuteTime%22%3A1019.7899999911897%2C%22rumServiceResponseTime%22%3A1237.7850000048056%2C%22rumFormRenderTime%22%3A3.7949999677948654%2C%22rumTotalRenderTime%22%3A71.98499998776242%2C%22rumTotalRequestTime%22%3A216.79500001482666%2C%22lang%22%3A%22en%22%2C%22disableCookieSubmission%22%3Atrue%2C%22embedAtTimestamp%22%3A%221588874670525%22%2C%22formDefinitionUpdatedAt%22%3A%221588872328355%22%2C%22pageUrl%22%3A%22https%3A%2F%2Fprocobots.com%2Ftester%2F%22%2C%22pageTitle%22%3A%22Tester+-+ProCobots%22%2C%22source%22%3A%22FormsNext-static-3.480%22%2C%22timestamp%22%3A1588874670527%2C%22userAgent%22%3A%22Mozilla%2F5.0+(Windows+NT+10.0%3B+Win64%3B+x64)+AppleWebKit%2F537.36+(KHTML%2C+like+Gecko)+Chrome%2F81.0.4044.138+Safari%2F537.36%22%2C%22referrer%22%3A%22https%3A%2F%2Fprocobots.com%2Fwp-admin%2Fpost.php%3Fpost%3D2280%26action%3Dedit%22%2C%22originalEmbedContext%22%3A%7B%22portalId%22%3A%22209468%22%2C%22formId%22%3A%2296085b29-963b-4ce5-9a65-4f9f3046ee1b%22%2C%22inlineMessage%22%3Atrue%2C%22target%22%3A%22%23hbspt-form-1588874670572-8723872668%22%2C%22hutk%22%3A%22f6a5fcd85d55f675630d59b5873faf7c%22%2C%22shellId%22%3A0%2C%22shell%22%3Atrue%2C%22pageUrl%22%3A%22https%3A%2F%2Fprocobots.com%2Ftester%2F%22%2C%22pageTitle%22%3A%22Tester`

---

<div class="post-metadata">

**Author:** ![derekcavaliero](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/derekcavaliero/32/24634_2.png) [@derekcavaliero](https://community.hubspot.com/u/derekcavaliero)\
**Post date:** [May 13, 2020, 3:04pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/10 "2020-05-13T15:04:44Z")

</div>

@dimitreliasb

If you only need to pass 1 value through - simply dig into the form and get the value manually using the $form jQuery collection parameter in the onFormSubmit callback:

```auto
onFormSubmit($form){
 var email = $form.find('input[name="email"]').val();
 var redirectBase = 'https://www.google.com';
 window.location = redirectBase + '?email=' + email;
}

```

the reason your URL is breaking is because my previous script had a flaw. There are better ways to go about it - but for simple 1 parameter redirect logic - the above is as simple as it gets.

---

<div class="post-metadata">

**Author:** ![Leigh\_Oxley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/leigh_oxley/32/64809_2.png) [@Leigh\_Oxley](https://community.hubspot.com/u/Leigh_Oxley)\
**Post date:** [December 1, 2021, 11:34pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/11 "2021-12-01T23:34:31Z")

</div>

Hi @derekcavaliero ! New Hubspot user here, and I’m a bit stuck, but it sounds like this code is pretty much exactly what I need. We’re capturing some basic data in a Hubspot form (on a HS landing page) and then would like to redirect to a Calendly booking page with email and name embedded in the URL so Calendly can grab it.

I’ve tried just setting the form redirect link to be

`https://calendly.com/highwayed/info-session?firstname={{contact.firstname}}&lastname={{contact.lastname}}&email={{contact.email}}`

([as this article states](https://knowledge.hubspot.com/forms/can-i-auto-populate-form-fields-through-a-query-string)) but that doesn’t seem to work, so I guess I need your code somewhere… the trouble is, I’m not sure where! Do I need a new custom module to add the javascript to the landing page? Would it go above or below the form itself?  
Appreciate any insight! Thank you for this thread!

---

<div class="post-metadata">

**Author:** ![derekcavaliero](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/derekcavaliero/32/24634_2.png) [@derekcavaliero](https://community.hubspot.com/u/derekcavaliero)\
**Post date:** [December 2, 2021, 5:48pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/12 "2021-12-02T17:48:44Z")

</div>

[@Leigh\_Oxley](https://community.hubspot.com/t5/user/viewprofilepage/user-id/189396)

If you’re using a hubspot hosted page with a default HubSpot form module, you’ll need to use the global onFormSubmit callback as such:

```lia-code-sample
<script>

function fieldsArrayToObject( fieldsArray ) {

 var valueCounter = {};
 var fields = {};

 for ( var i = 0; i < fieldsArray.length; i++ ) {

 var field = fieldsArray[i];

 if ( valueCounter.hasOwnProperty(field.name) ) {
 valueCounter[field.name]++;
 } else {
 valueCounter[field.name] = 1;
 }

 }

 for ( var i = 0; i < fieldsArray.length; i++ ) {

 var field = fieldsArray[i];

 if ( !fields.hasOwnProperty(field.name) ) {
 fields[field.name] = (valueCounter[field.name] > 1) ? [] : '';
 }

 if ( fields[field.name].constructor === Array ) {
 fields[field.name].push(field.value);
 } else {
 fields[field.name] = field.value;
 }

 }

 return fields;

}

window.addEventListener('message', function(event) {

 if (event.data.type !== 'hsFormCallback') return;

 if (event.data.eventName === 'onFormSubmit') {

 var fields = fieldsArrayToObject(event.data.data);
 var redirect = 'https://calendly.com/highwayed/info-session?firstname=' + fields.firstname + '&lastname=' + fields.lastname + '&email=' + fields.email;

 window.location.href = redirect;

 }

});
</script>

```

A few notes:

- You need to make sure the form module on the page is set to show an inline message and not redirect when submitted. Otherwise this may not function properly
- There is a utility method/function in the example above that formats the form field data from an array of objects into a single object of key:value pairs which is a much more sensible format (HubSpot doesn’t format it this way naturally which is kind of a pain).
- You would need to add this into the page settings in either the Header or Footer HTML under “Advanced Settings”

That should get you what you need.

---

<div class="post-metadata">

**Author:** ![jkeough78](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jkeough78/32/83064_2.png) [@jkeough78](https://community.hubspot.com/u/jkeough78)\
**Post date:** [June 14, 2023, 4:17pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/13 "2023-06-14T16:17:03Z")

</div>

Hi @derekcavaliero , thank you for helping all of us for **6 YEARS**! I put this code into the footer and it seems to work even though I’m not using an inline thanks message. Should I use an inline message anyways just to be safe?

If I don’t have to use an inline message then maybe I could update the code to use the form’s redirecturl like this?..

`var redirect = fields.redirecturl + '?firstname=.....`

This would be nice, because then I can simply paste the same code in the footer of all my pages 😀

Thanks, Jim

---

<div class="post-metadata">

**Author:** ![MDiPronio](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@MDiPronio](https://community.hubspot.com/u/MDiPronio)\
**Post date:** [October 27, 2023, 3:35pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/14 "2023-10-27T15:35:41Z")

</div>

Hi Derek,  
When i embed this code onto my site (after adjusting the code with my portal ID, etc, the form doesn’t even appear on my page and I do not receive any error messages. Advice on what I’m doing wrong?

\<script charset=“utf-8” type=“text/javascript” src=“[//js.hsforms.net/forms/embed/v2.js](https://js.hsforms.net/forms/embed/v2.js)”\>\</script\>  
\<script\>  
hbspt.forms.create({  
region: “na1”,  
portalId: “xxxxxxxxxxxx”,  
formId: “xxxxxxxxxxxx”

inlineMessage: ‘Your submit message here’,

```
onFormSubmit: function($form){

    setTimeout( function() {

        var formData = $form.serialize();

```

window.location.replace(“[http://www.yoururl.com](http://www.yoururl.com)?” + formData);

}, 250 ); // Redirects to url with query string data from form fields after 250 milliseconds.

}

});

\</script\>

---

<div class="post-metadata">

**Author:** ![AzharBondi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/azharbondi/32/89457_2.png) [@AzharBondi](https://community.hubspot.com/u/AzharBondi)\
**Post date:** [November 16, 2023, 4:13pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/15 "2023-11-16T16:13:19Z")

</div>

Hi @derekcavaliero ,  
how can we modify this code within the Hubspot platform please ?  
I would love to apply this redirect behavior to a Hubspot form used within a Hubspot landpage !  
I tried applying the code on a custom module (module.js) but it doesn’t seem to work !  
Thank you

---

<div class="post-metadata">

**Author:** ![BDecoteau](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bdecoteau/32/194567_2.png) [@BDecoteau](https://community.hubspot.com/u/BDecoteau)\
**Post date:** [April 25, 2024, 3:26pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/16 "2024-04-25T15:26:36Z")

</div>

Thank you so much for posting. Can you explain a little as to where we put this code? Do we add it to the embed code we get from the form? Or do we add somewhere on the non-hubspot landing page where we embed the form? Appreciate any additinal guaidance. Thanks!

---

<div class="post-metadata">

**Author:** ![robertainslie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/robertainslie/32/1875_2.png) [@robertainslie](https://community.hubspot.com/u/robertainslie)\
**Post date:** [April 5, 2017, 1:01pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/17 "2017-04-05T13:01:39Z")

</div>

Hi [@Lloyd\_Silver](https://community.hubspot.com/u/lloyd_silver),  
Another way to do this is by re-running the hbspt.forms.create method of the embed code on change to each field and recreating the redirectUrl, appending each field. This changes the context and rebuilds the form on each call. @derekcavaliero 's method is probably better, but there are multiple ways to proceed.

That method looks like this:

hbspt.forms.create({  
portalId: ‘[hub\_id]’,  
formId: ‘[form\_guid]’,  
redirectUrl:‘[https://www.domain.com/page’](https://www.domain.com/page%E2%80%99),  
target:’#target-node-for-form-build’  
});

In your JS, recall that entire method on change to each field, creating a redirectUrl like:  
redirectUrl:‘[https://www.domain.com/page?firstname=Lloyd’](https://www.domain.com/page?firstname=Lloyd%E2%80%99). Be sure to include the ‘target’ node so the embed code knows where to rebuilt the form each time.

---

<div class="post-metadata">

**Author:** ![Gthn](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/gthn/32/22307_2.png) [@Gthn](https://community.hubspot.com/u/Gthn)\
**Post date:** [August 12, 2019, 12:59pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/18 "2019-08-12T12:59:43Z")

</div>

Hi,

I’ve the same issue as the same @lloydsilver . The thing is I want to redirect users to a dynamic URL which already includes a “?”.

Basically I want our users to fill a form with their website as one property to be redirected to a URL which include their website.

So if I a fill a form putting: [http://www.mywebsite.com](http://www.mywebsite.com)

People would be redirected to the following URL [http://www.domain.com/simulate.php\*\*?\*\*url=http://www.mywebsite.com](http://www.domain.com/simulate.php **?** url=http://www.mywebsite.com)

1. I’m not sure to really understand how to use **target:’#target-node-for-form-build’**

2. I tried the dynamic query string (as i saw in [HS knowledge](https://knowledge.hubspot.com/articles/kcs_article/forms/can-i-auto-populate-form-fields-through-a-query-string#create-dynamic-query-strings-with-personalization-tokens-marketing-hub-professional-and-enterprise-legacy-marketing-hub-basic-only)) but it didn’t work neither and i’ve the feeling it’s because of the “?” which is inside the URL.

3. I tried the @derekcavaliero method but i didn’t get how to use **window.location = “[http://www.yoururl.com](http://www.yoururl.com)?” + formData;**

Thanks in advance for your help

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [August 20, 2019, 9:17pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/19 "2019-08-20T21:17:53Z")

</div>

Hi, @Gthn.

Let’s continue the conversation in [this thread](https://community.hubspot.com/t5/APIs-Integrations/Embedded-Form-submission-amp-redirect-URL-based-on-form/m-p/287080/highlight/true#M26540).

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [May 28, 2018, 3:24pm UTC](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901/20 "2018-05-28T15:24:15Z")

</div>

Hi [@Lloyd\_Silver](https://community.hubspot.com/u/lloyd_silver),

I’m having the same issue, but on a COS landing page.  
As you’ve apparently solved it before, any chance you can share the solution here?

Thanks a lot!

[Next page](https://community.hubspot.com/t/include-form-fields-as-redirect-url-parameters-on-an-embedded-form/11901.md?page=2)
