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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:40:05+00:00 2026-05-25T09:40:05+00:00

i am trying to do some validation to Facebook Registration Plugin i am using

  • 0

i am trying to do some validation to Facebook Registration Plugin

i am using this code:

<?php
$fields = json_encode(array(
array('name' => 'name'),
array('name' => 'first_name'),
array('name' => 'last_name'),
array('name' => 'birthday'),
array('name' => 'email'),
array('name' => 'address', 'description' => 'Address', 'type' => 'text'),
array('name' => 'zipcode', 'description' => 'Zip Code', 'type' => 'text'),
array('name' => 'phone', 'description' => 'Phone Number', 'type' => 'text')
));

?>
<div style="display: none;">
    <div id="reg_istration" style="width:640px;height:auto;overflow:auto;">
    <iframe class="facebook-login" src="http://www.facebook.com/plugins/registration.php?
         client_id=153230661424821&
         redirect_uri=http://www.xxx.com/xxx.php?&
         fields=<?php echo urlencode($fields);?>"
    scrolling="auto"
    frameborder="no"
    style="border:none"
    allowTransparency="true"
    width="100%"
    height="330">
    </iframe>
    </div>
</div>

im not sure how to apply the validation code to this code.

any ideas?

Thanks

  • 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-25T09:40:06+00:00Added an answer on May 25, 2026 at 9:40 am

    Try using the XFMBL version of the plugin.

    From the Registration Advanced Uses page:

    If you want to add validation to any of your fields during registration, you must use the XFBML version of the plugin, since the iframe can’t do cross domain communication.

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

Sidebar

Related Questions

I am using VS 2010 RTM and trying to perform some basic validation on
I'm trying to add the jQuery Validation plugin to some websites and I'm running
I'm trying to add some validation to some form fields in a jQuery Mobile
Trying to do some jQuery validation (without the plugin - please no answers like
I'm trying to do some validation on 2 numerical fields and not done much
I am trying to write some validation code in my class for my GUI.
I am trying to do some UI validation on a database name. I was
I'm trying to perform some realtime phone-number validation using javascript. I don't need help
I'm trying to put together some validation code. I am trying to validate against
I have a form that I'm trying to run some basic validation on using

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.