Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Registration Pages

Author  Topic 

mazza
Starting Member

3 Posts

Posted - 2004-07-19 : 09:44:21
I have designed a website registration page but wish to just tidy it up a bit.
If a new member registers and the username is already taken then how can I make sure that the personal details remain when redirected to the error page, so that the user does not have to re-type any information apart from a new username and the password?

Also, if I have a "confirm password" field how can I check that the text is the same as that in the "password" field?

JMol
Starting Member

3 Posts

Posted - 2004-07-19 : 09:56:22
To check the "password" with "confirm password" you have to use JavaScript before submitting the page.
Other data:
On the page where you submit you data to, you can store the date in hidden fields. If you need to go to an error page, you also submit the hidden fields to that page and so on. There is naturally also an easier way => sessions.

Best regards,

Jeroen
Go to Top of Page
   

- Advertisement -