---
title: EMBEDDING A FORM ON YOUR SITE
description: If you are embedding a form on your site and running into issues with the form submitting and saving the data back to Adestra, you may be embedding the Adestra form inside of a <form> tag on your page.
image: https://blog.highroadsolutions.com/hubfs/Choice%20and%20checkmark.jpg
---

[![HighRoad-Logo-2026-White](https://blog.highroadsolutions.com/hs-fs/hubfs/2026%20-%20Logo/HighRoad-Logo-2026-White.png?width=239&height=95&name=HighRoad-Logo-2026-White.png "HighRoad-Logo-2026-White")](http://www.highroadsolution.com)

[![HighRoad-Logo-2026-Blue](https://blog.highroadsolutions.com/hs-fs/hubfs/2026%20-%20Logo/HighRoad-Logo-2026-Blue.png?width=120&height=48&name=HighRoad-Logo-2026-Blue.png "HighRoad-Logo-2026-Blue")](http://www.highroadsolution.com)

## Welcome to the Center of Excellence

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Quis ipsum suspendisse ultrices gravida. Risus commodo viverra maecenas accumsan lacus vel facilisis. 

![Blog-Hero-Img](https://blog.highroadsolutions.com/hubfs/Blog-Hero-Img.svg "Blog-Hero-Img")

![](https://blog.highroadsolutions.com/hubfs/Choice%20and%20checkmark.jpg)

# EMBEDDING A FORM ON YOUR SITE

Posted by [Sample Author](https://blog.highroadsolutions.com/adestra-coe/author/sample-author) on Feb 20, 2024 3:50:48 AM

![Sample Author](https://blog.highroadsolutions.com/hubfs/2019%20Blog%20Authors/IMG_0483Retouched.jpg)

Find me on:

[Facebook ](http://www.facebook.com) [LinkedIn](https://www.linked.com) [Twitter ](http://www.twitter.com)

- [Tweet](https://twitter.com/share)

If you are embedding a form on your site and running into issues with the form submitting and saving the data back to Adestra, you may be embedding the Adestra form inside of a <form> tag on your page.

The form downloaded from Adestra is wrapped with a **<form>** tag and if your page or CMS wraps the whole page with a **<form>** tag, that will cause the Adestra form to be nested inside of another form. This will cause the Adestra form, upon submitting, to clear the fields, it won't write the data to the list, and it won't redirect. 

A solution to this problem is to use an **iFrame**.  There are two caveats to this solution.

1. If you **download **the form code and host it on your site to be shown in the iFrame, you will need to modify the Adestra form code by adding** target="_parent"** on the Adestra **<form>** tag inside of the iFrame.  Then it will redirect outside of the iFrame to your thank you page correctly instead of showing the thank you page inside of the iFrame.

2. If you are just using the **link **to the form inside of the iFrame, then you will need to add the following **JavaScript **to the **JavaScript field** inside of the Adestra form settings.  See below.

setTimeout(function () {  
document.getElementsByTagName("form")[0].setAttribute("target", "_parent");  
}, 3000);

![](https://d33v4339jhl8k0.cloudfront.net/docs/assets/59946e70042863033a1c08dc/images/5fc941be4664bd7a123ea85b/file-FZyvfXBg6Q.png)

 

This will update the Adestra **<form>** tag to include the **target="_parent"** code so that your form will redirect outside of the iFrame.

 Topics: [forms](https://blog.highroadsolutions.com/adestra-coe/tag/forms)

---

# Featured Articles

[![](https://blog.highroadsolutions.com/hubfs/GrowthStrat_M.jpg) ](https://www.highroadsolutions.com/highroad-coe/highroad-solutions-taps-talent-to-pursue-growth-in-2022)

## [HighRoad Solutions Taps Talent to Pursue...](https://www.highroadsolutions.com/highroad-coe/highroad-solutions-taps-talent-to-pursue-growth-in-2022)

 Posted by [Sample Author](https://www.highroadsolutions.com/highroad-coe/author/sample-author) on Jan 11, 2024 11:01:48 AM

***Ashburn, VA - February 1, 2022***: HighRoad Solutions is pleased to announce the promotion of Adam Higgins to Chief Technology Offi...

[Read More](https://www.highroadsolutions.com/highroad-coe/highroad-solutions-taps-talent-to-pursue-growth-in-2022)

[![](https://blog.highroadsolutions.com/hubfs/Testing.jpg) ](https://www.highroadsolutions.com/highroad-coe/theres-a-control-for-that-what-your-testing-strategy-is-telling-you)

## [There’s a control for that: what your...](https://www.highroadsolutions.com/highroad-coe/theres-a-control-for-that-what-your-testing-strategy-is-telling-you)

 Posted by [Aaron Kapaun](https://www.highroadsolutions.com/highroad-coe/author/aaron-kapaun) on Jan 9, 2024 2:49:53 AM

Marketing planning can be exciting. It's often the time where new ideas get thrown on the table, innovative and analytical think...

[Read More](https://www.highroadsolutions.com/highroad-coe/theres-a-control-for-that-what-your-testing-strategy-is-telling-you)

[![](https://blog.highroadsolutions.com/hubfs/Snackable%20content%202.jpg) ](https://www.highroadsolutions.com/highroad-coe/gen-zs-count-content-calories-give-them-snackable-bites)

## [Gen Zs Count Content Calories: Give them...](https://www.highroadsolutions.com/highroad-coe/gen-zs-count-content-calories-give-them-snackable-bites)

 Posted by [Aaron Kapaun](https://www.highroadsolutions.com/highroad-coe/author/aaron-kapaun) on Jan 9, 2024 2:44:58 AM

There's no question that individual and societal experiences have shaped Gen Z. Significant events such as the COVID-19 pandemic...

[Read More](https://www.highroadsolutions.com/highroad-coe/gen-zs-count-content-calories-give-them-snackable-bites)

[![](https://blog.highroadsolutions.com/hubfs/Choice%20and%20checkmark.jpg) ](https://www.highroadsolutions.com/highroad-coe/the-member-experience-starts-with-a-choice-and-a-checkmark)

## [The member experience starts with a...](https://www.highroadsolutions.com/highroad-coe/the-member-experience-starts-with-a-choice-and-a-checkmark)

 Posted by [Aaron Kapaun](https://www.highroadsolutions.com/highroad-coe/author/aaron-kapaun) on Jan 8, 2024 9:38:52 AM

 Customization and personalization is no longer a prized possession. It's expected when it comes to communicating with consumers...

[Read More](https://www.highroadsolutions.com/highroad-coe/the-member-experience-starts-with-a-choice-and-a-checkmark)

[![](https://blog.highroadsolutions.com/hubfs/Spark%20Puzzle.jpg) ](https://www.highroadsolutions.com/highroad-coe/spark-the-final-piece-to-data-activation)

## [Spark—the final piece to data activation](https://www.highroadsolutions.com/highroad-coe/spark-the-final-piece-to-data-activation)

 Posted by [Sample Author](https://www.highroadsolutions.com/highroad-coe/author/sample-author) on Jan 8, 2024 7:21:20 AM

You buy a mystery jigsaw puzzle with 1000 pieces. About 200 are hidden in the couch. 500 are "somewhere" in the basement. And 30...

[Read More](https://www.highroadsolutions.com/highroad-coe/spark-the-final-piece-to-data-activation)

[![](https://blog.highroadsolutions.com/hubfs/shutterstock_1825096265.jpg) ](https://www.highroadsolutions.com/highroad-coe/sci-fi-is-the-new-normal-ai-is-here)

## [Sci-fi is the new normal: AI is here](https://www.highroadsolutions.com/highroad-coe/sci-fi-is-the-new-normal-ai-is-here)

 Posted by [Sample Author](https://www.highroadsolutions.com/highroad-coe/author/sample-author) on Jan 8, 2024 6:57:52 AM

Bicentennial Man. AI Artificial Intelligence. Ex Machina. iRobot. Meghan. What do these movies all have in common? Yep, you’ve g...

[Read More](https://www.highroadsolutions.com/highroad-coe/sci-fi-is-the-new-normal-ai-is-here)

![highroad-logo-white](https://blog.highroadsolutions.com/hubfs/2026%20-%20Logo/HighRoad-Logo-2026-White.png)

P O Box 915 Ashburn, Virginia 20146 USA

- [Privacy Policy](https://www.highroadsolutions.com/privacy-policy)
- [Legal](https://www.highroadsolutions.com/legal)
- ©   HighRoad Solution
- Call us at (703) 297-8886

### Let's get social:

- [![youtube](https://blog.highroadsolutions.com/hs-fs/hubfs/Highroad%20Template%202021/youtube.png?width=34&name=youtube.png)](https://www.youtube.com/user/HighRoadSol)
- [![linkedin](https://blog.highroadsolutions.com/hs-fs/hubfs/Highroad%20Template%202021/linkedin.png?width=34&name=linkedin.png)](https://www.linkedin.com/company/highroad-solution)
- [![facebook](https://blog.highroadsolutions.com/hs-fs/hubfs/Highroad%20Template%202021/facebook.png?width=34&name=facebook.png)](https://www.facebook.com/HighRoadSolution/)
- [![twitter](https://blog.highroadsolutions.com/hs-fs/hubfs/Highroad%20Template%202021/twitter-1.png?width=34&name=twitter-1.png)](https://twitter.com/highroadsol/)

[Subscribe to our blog](https://www.highroadsolutions.com/blog-subscription)

![](https://dc.ads.linkedin.com/collect/?pid=63376&fmt=gif)

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Sample Author",
    "url" : "https://blog.highroadsolutions.com/adestra-coe/author/sample-author"
  },
  "dateModified" : "2024-02-20T09:35:18.453Z",
  "datePublished" : "2024-02-20T08:50:48.000Z",
  "headline" : "EMBEDDING A FORM ON YOUR SITE",
  "image" : [ "https://blog.highroadsolutions.com/hubfs/Choice%20and%20checkmark.jpg" ],
  "mainEntityOfPage" : {
    "@id" : "https://blog.highroadsolutions.com/adestra-coe/embedding-a-form-on-your-site",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://blog.highroadsolutions.com/hubfs/HighRoadSolutions-logo-blue-2026.jpg"
    },
    "name" : "HighRoad Solutions"
  }
}
```