Hi Guys and Gals
I'm in the middle of creating a small site where the user has to register before being able to read any info on the site.
I've set up a small form where the visitor enters a username and password to log in. If they are a new visitor they must register first. This again is a small form but I want them to enter their password in twice so that I can validate that they have typed it correctly (i.e. by comparing the two password fields). How do I compare two fields to ensure they are both the same and then allow the form to be submitted to the server? I'm a bit stuck!
Cheers,
Kenny.
I'm in the middle of creating a small site where the user has to register before being able to read any info on the site.
I've set up a small form where the visitor enters a username and password to log in. If they are a new visitor they must register first. This again is a small form but I want them to enter their password in twice so that I can validate that they have typed it correctly (i.e. by comparing the two password fields). How do I compare two fields to ensure they are both the same and then allow the form to be submitted to the server? I'm a bit stuck!
Cheers,
Kenny.