Jump to content

Realtime Username Validation Against Duplicates


JustinK101

Recommended Posts

I have seen more and more of this around. When you type in a desired username and move focus to the next field immediately it tells you if the username you entered already exists or is valid without hitting submit and refreshing the page. How is this done? I am thinking:

When the page loads, they pull all usernames from mysql and store them in a javascript array. Is this even possible? How do you put all contents of a php array into a javascript array? Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.