Password do not match on sign up form

signup form, if password do not matvhes, it echos on screen which is not
visible, nw it shows on like popup by using <script >   set status