Validate Password

This example shows how to validate whether a user enters the same password.