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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:58:46+00:00 2026-05-27T20:58:46+00:00

I am using Facebook registration plugin. And I added a checkbox field that I

  • 0

I am using Facebook registration plugin. And I added a checkbox field that I need to validate to be checked before the user register.

It is showing the error message but dispite the validation error it is also allowing the user to register to my site.

This is my code:

<fb:registration 
     fields="[
     {'name':'name'},
     {'name':'email'},
     {'name':'legal ', 'description':'I accept the legal terms', 'type':'checkbox',  'default':'checked'}
     ]" 
     redirect-uri="http://www.mysite.com/page"
     width="710"
     onvalidate="validate">
 </fb:registration>

 <script> 
     function validate(form) {
         errors = {};
         if (form.name === "") {
           errors.name = "You must fill your name";
         }

         if (form.email === "") {
           errors.email = "You must fill your email";
         }

         if (!form.legal) {
           errors.legal = "You have to accept the legal terms";
         }

         return errors;
     }
 </script> 

Is this a Facebook bug? Or is that I am doing something wrong?

  • 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-27T20:58:46+00:00Added an answer on May 27, 2026 at 8:58 pm
    1. Are U using iframe or xfbml? This solution only works with xfblm!!

    2. Actual the use of onvalidate=”validate” only is in App-sites (apps.facebook.com/…) possible.
      If you use it inside a facebook app its not working.

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

Sidebar

Related Questions

I'm using grails and facebook graph plugin for the user registration. However, instead of
When using the Facebook Registration social plugin, the user is presented with an undo
I'm gleaning from this question [ Facebook Connect Won't Validate that using Facebook Connect
i´m developing a Facebook Fanpage using PHP-SDK 3.0 and integrated a Facebook Registration Plugin.
So I have a Facebook registration plugin on my site that is working really
I'm using the Facebook Registration Plugin on my site, but I'm getting security errors
Is it possible to collect wall posting permission when using the Facebook Registration plugin?
i'm using the registration plugin for my website http://developers.facebook.com/docs/plugins/registration i want permission to post
I am using facebook registration plugin and wanted to see if its possible to
I'm using the registration plugin of facebook to manage registration of some site. It

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.