Archive for the ‘ajax’ category

Check for Available Username with CakePHP, Ajax and jQuery

September 27th, 2010 Leave a comment 9 comments
Check for Available Username with CakePHP, Ajax and jQuery

When a user registers for your web site, it is usually a requirement that they have to select a unique username. It can be a pain when your usual usernames are taken. You keep submitting the form just to wait and then see an error message that the username is already taken. Using Ajax to check and see if a username is available before the user submits the form will make your registration page more friendly. Here is one method for doing it using CakePHP, Ajax and jQuery. First, we are going to create a very lighweight… View full post »