php - Facebook registration async username validation
Get the solution ↓↓↓Solution:
First of all, please look at the docs for async validation, https://developers.facebook.com/docs/plugins/registration/advanced/#async
Basically, you have your client-side validation function returning null (or no return statement at all) – and then you evaluate the response of your server-side script in the callback function.
How you do that, is up to you.
Possible best, if your server-side script returns JSON, and gives an error value if something went wrong. And then you evaluate that JSON data object in your client-side callback function.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: installation failed, reverting ./composer.json and ./composer.lock to their original content.
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.