/    Sign up×
Community /Pin to ProfileBookmark

Help Needed On Register Page

Hiya guys,
I neeed some help on my register page and i wont some1 to tell me how to make a check available button when pressed a dialog box appears and says if its taken or available

Could any of you help?

[url]http://www.random-arcade.com[/url]

to post a comment
Full-stack Developer

1 Comments(s)

Copy linkTweet thisAlerts:
@coffeeCoderApr 01.2009 — I would use a quick AJAX call /updater (I'm a big fan of scriptaculous) to some script that checks to see if that username is available. Have that script return either "Available" or "Not Available"; so you can update a div (next to the username text box) with that text.

Then, handle the onClick of that button to call the function that makes that Ajax call. This would allow your registerees to see if that username is available.

AND, just to be on the safe side, the script that actually does the insertion of the registration information to the database check if that username exists, and if it does, alert your user.

-coffeeCoder
×

Success!

Help @dazzatheowl spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...