Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8521305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:47:09+00:00 2026-06-11T06:47:09+00:00

Trying to send a form to another domain inside Facebook iframe on a Facebook

  • 0

Trying to send a form to another domain inside Facebook iframe on a Facebook app.

I have a form similar to this:

<form id="email_capture" action="{GOES TO ANOTHER DOMAIN}" method="POST">
                <input id="fname_capture_field" placeholder="Enter Your First Name" type="text">
                <input id="lname_capture_field" placeholder="Enter Your Last Name" type="text">
                <input id="email_capture_field" placeholder="Enter Your Email Address" type="text">
                <input id="phone_capture_field" placeholder="Enter Your Phone Number" type="text"><br/>
                <a id="email_capture_btn" href="#"></a>
                <p class="email_capture_error"></p>
            </form>

And it sends correctly if I go to the direct URL and use the form, but if I go through and use it as a Facebook app through an iframe, I get this error.

Display forbidden by X-Frame-Options

I’ve seen this article already, but I don’t have access to the other domain.

Any idea what I should do? Do I have to contact the other domain and get them to allow iframes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T06:47:11+00:00Added an answer on June 11, 2026 at 6:47 am

    You contact other domain to let you display their page inside an iFrame or you use _target and change the page:

    <form id="email_capture" action="{GOES TO ANOTHER DOMAIN}" method="POST" target="_top">
                    <input id="fname_capture_field" placeholder="Enter Your First Name" type="text">
                    <input id="lname_capture_field" placeholder="Enter Your Last Name" type="text">
                    <input id="email_capture_field" placeholder="Enter Your Email Address" type="text">
                    <input id="phone_capture_field" placeholder="Enter Your Phone Number" type="text"><br/>
                    <a id="email_capture_btn" href="#"></a>
                    <p class="email_capture_error"></p>
                </form>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to send a getJson call from my app (login form) to get
I am trying to send a form to another page and my value has
I'm trying to send form fields and file to a web service using php
I am getting a FaultEvent when trying to send form fields through HTTPService that
I'm trying to send a form with mootools and depending on the response from
I'm trying to send JSON-object form MongoDB to page with ejs template engine. Here's
I`m trying to send simple html page with form data to user with GET,
I'm trying to send information from a form and a hidden email variable (from
I am trying to send an email to customers with html form. here is
I am trying to send data as a model from an html form to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.