Jump to content

username validation?


cshoffie

Recommended Posts

Hey everyone, first post! :) I hope I can get some help as this seems like a good site to get it from. Anyway on to the question...

 

I'm coding a customer registration system for my business. I'm giving the user the option of having a user name of their choice. I'm primarily using PHP/MySQL, but I think I need a little help from Javascript... if he can do it. :)

 

Basically what I want to do is have an "Available?" button right next to the user name input field so the customer can click it and check to see if it's already taken or not, but what I want it to do is popup a window with the results using PHP. The only problem is that the only way I know how to transfer a $_GET variable to a PHP script is to obviously have the WHOLE form submitted. I don't want that. Is it possible to just have just the user name input field processed WITHOUT processing the whole form and having all of the other entries the user put into the form disappear upon reload?

 

In a nutshell, I need to get whatever the user inputs into ONLY that field and have it submit the results to another script, without submitting the ENTIRE form.

 

I hope you get what I'm saying....

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/91667-username-validation/
Share on other sites

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.