Quote Originally Posted by ravi951 View Post
then why my script is not executing...
whats the problem...
Aha, that is the right question to ask.

If the script has a problem, such as an expected HTML element not being there, thr script will fail and stop executing. It will not return false to prevent the form from submitting, which means that the onsubmit event will continue on and submit, even though there was a problem.

The problem that I see occurring, is that the script is attempting to access a field named "password2". The currently has a field with the name "repassword", so you should update the form so that it meets up with the requirements of the script.