[phplib] Registration page validation problem From: Sanlong Irvan (sonicxtirvan <email protected>)
Date: 07/03/00

Hi all,

I have try to design a website that require a registration page. Assuming here,
that I have only 4 things to fill for registration,

e.g.

Login
Email
Password
Re-enter password

I have try to do some validation like, the password must match, login name must not
be empty and bla bla.

What I want to do is when there is some errors occured, I want to display all the
errors and re-display what user entered previously (in other words, user doesn't have
to fill the one that is correct already)
   
e.g

User entered

Login: user
Email: user <email protected>
Password: 123
Re-enter password : 124

After validation display

Your passwords are mismatch

Login: user
Email: user <email protected>
Password : *
Re-enter password : *

By marking the one that user has to re-enter.

I have try to think this, but seems like all my ideas not working, some problems
like, in URL address it display the user entered password
e.g. index.html?login=user&email=user <email protected>&pass=123&pass2=124

Can anyone just give me an idea how to do it. My brain just can't think anymore.

Cheers,
Irvan
Any help will be very appreciated.

-------------------------------------------------------------
Sign up for ICQmail at http://www.icq.com/icqmail/signup.html

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>