Joining website form logic

Completed Posted Feb 16, 2012 Paid on delivery
Completed Paid on delivery

Hi,

I've got a form to join my website. Just want a bit of logic added.

On the form ([url removed, login to view]), the first field asks for an email address (member_username).

Upon tabbing out of this field, I'd like the database table 'members' (sql dump attached) searched. If the email address does not already exist in the database, I'd like the tick (images/feedback/[url removed, login to view]) next to this field to become visible, incidating that the username is available. If the email address already exists in the database, I'd like the cross (images/feedback/[url removed, login to view]) next to this field to become visible, indicating that the username is not available. A message should also appear saying "This username already exists in the database".

Until the user tabs out of this field, both the tick and the cross should remain invisible.

Basically the same thing should happen when the user tabs out of the password confirm field on the form.

if member_password = member_password_confirm, display tick. If member_password != member_password_confirm, display cross and a message saying "Your passwords do not match, please try again".

There should also be some validation on submit.

If member_password != member_password_confirm, the form should not be submitted.

Also, if member_username already exists in the database, the form should not be submitted.

Thanks,

Dave

ps - May require Ajax or javascript.

JavaScript MySQL PHP

Project ID: #2712441

About the project

9 proposals Remote project Active Feb 16, 2012

Awarded to:

kodiaksoftware

See private message.

$15 USD in 14 days
(13 Reviews)
3.4

9 freelancers are bidding on average $73 for this job

shihan033010

See private message.

$40 USD in 14 days
(242 Reviews)
6.4
techno20

See private message.

$85 USD in 14 days
(213 Reviews)
6.1
virals2583

See private message.

$90.1 USD in 14 days
(15 Reviews)
5.4
anisoftcorplx

See private message.

$25 USD in 14 days
(25 Reviews)
4.5
krishnabansal

See private message.

$50.15 USD in 14 days
(4 Reviews)
4.5
SunilVyas01

See private message.

$250.75 USD in 14 days
(13 Reviews)
4.4
alexaela

See private message.

$20 USD in 14 days
(19 Reviews)
3.4
cxtuk

See private message.

$47.6 USD in 14 days
(0 Reviews)
0.0
dk766

See private message.

$50.15 USD in 14 days
(0 Reviews)
0.0