Regular expression for validating first name

6854933580_2c8b688306_z

The red/green markers have been implemented using CSS: In this example it should be clear to the user that the form can only be submitted once all three green ticks appear.

We're going to show you now how to apply the password tests using a single regular expression.Another method is to display what they've entered as part of a 'confirmation page'.The problem here is that you're making the password visible in the browser, browser cache, proxy, etc.Otherwise your application needs to provide this function.Passwords need to be stored encrypted in the database or elsewhere and any backups should also be encrypted.If the purpose of registration is to confirm that the person exists, and that they have supplied a valid email address, then as part of the registration processe you a should either email them a random password or a confirmation token rather than letting them choose their own password and use it immediately.

You must have an account to comment. Please register or login here!