validation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dipalichavan82
    New Member
    • Feb 2008
    • 41

    validation

    i m creating a login page.i want user password to be entered twice for confirmation... ......but user can use ctr+c and ctrl+v(i.e.copy -paste) .how to restrict user to do this
    plz tell
    thnx in advance
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    It may not be completely possible to disable copy/paste functionality but you could have a search in the Javascript forum for the best options. The question was asked again there last week.

    Comment

    • todashah
      New Member
      • Feb 2008
      • 26

      #3
      U have not specified whether it is window or web application ? In case of window application using C# set PasswordChar Property of Textbox using * or any character u like. After that u r not able to use Cntr + C & Cntr + V for copy & paste respectively..U have no need to write any code for this.

      Bye...Take Care...Enjoy Coding

      Dhaval Shah

      Comment

      • dipalichavan82
        New Member
        • Feb 2008
        • 41

        #4
        Originally posted by todashah
        U have not specified whether it is window or web application ? In case of window application using C# set PasswordChar Property of Textbox using * or any character u like. After that u r not able to use Cntr + C & Cntr + V for copy & paste respectively..U have no need to write any code for this.

        Bye...Take Care...Enjoy Coding

        Dhaval Shah

        thanx dhaval,
        can u plz explain same for web app,
        thnx
        bye

        Comment

        Working...