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 6367353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:32:15+00:00 2026-05-25T00:32:15+00:00

I have a problem to validate my Facebook form. On custom input blur, I

  • 0

I have a problem to validate my Facebook form. On custom input blur, I have the message

Permission denied to access property

and the validation doesn’t occur.

This is my code:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
    <title>Home</title>
</head>
<body>
    <div id="fb-root"></div>
    <script src="https://connect.facebook.net/en_US/all.js#appId=<?php echo FACEBOOK_APP_ID; ?>&xfbml=1"></script>

    <fb:registration
        fields='[
                {"name":"name"},
                {"name":"first_name"},
                      {"name":"last_name"},
                      {"name":"gender"},
                      {"name":"company", "description":"Company", "type":"text"},
                      {"name":"address", "description":"Address", "type":"text"},
                      {"name":"zip_code", "description":"Zip Code", "type":"text"},
                      {"name":"city", "description":"City", "type":"typeahead", "categories":["city"]},
                      {"name":"phone", "description":"Phone","type":"text"},
                      {"name":"mobile_phone", "description":"Mobile Phone","type":"text"},
                      {"name":"email"},
                      {"name":"optin", "description":"I may receive communications from Fanpage Booster", "type":"checkbox", "default":"unchecked"},
                      {"name":"captcha"}
                     ]'
        redirect-uri="recup.php" width="530" fb_only="true" onvalidate="validate" >
    </fb:registration>
    <script>
        function validate(form) {
            errors = {};
            if (form.company == '') {
                errors.company = "Company can't be empty !";
            }
            if (form.address == '') {
                errors.address = "Address can't be empty !";
            }
            if (form.zip_code == '') {
                errors.zip_code = "Zip Code can't be empty !";
            }
            return errors;
        }
    </script>
</body>

I took a look at some tutorials on Facebook registration, at Facebook documentation, and questions on this site, but I don’t see solutions or a similar problem …

How do I fix this problem?

  • 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-05-25T00:32:16+00:00Added an answer on May 25, 2026 at 12:32 am

    I wasn’t able to reproduce that error. I did have to make sure redirect-uri was set to an absolute URL, add a close html tag, and change the script reference to be protocol less like:

    <script src="//connect.facebook.net/en_US/all.js#appId=APPID&xfbml=1"></script>  
    

    The Facebook validation doesn’t work on blur, it works once the form gets submitted. Where were you adding an onblur event?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to learn how to validate a form and I have this problem:
I have a problem trying to validate a user value using the jQuery Validation
I have a problem for form validation in a spring 3 mvc application. It
I have problem creating new instance of excel 2007 using VBA (from Access 2002).
I have a problem with XML validation with expat. I have not found document
I have a problem with jQuery Validator. I want to use required property on
I'm using the excellent validate CFC by Ryan J. Heldt http://validation.riaforge.org/ but have a
I have this problem: I need to validate that files have not been uploaded
I have a problem using quotation marks in js... I have an input field
I have a problem with Java xml validation. I have the following xsd: <?xml

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.