Hi, I'm using InfoPath 2003 (company hasn't bothered to upgrade yet :( ) and I'm experimenting with ways to encrypt passwords typed out on a form. I want to be able to write a JavaScript code that will scramble the letters filled out in a text box when a user clicks a button. I'm pretty new to writing code, my only experience being SendKeys and a few website codes to disable right-clicks, but I was thinking in principal it would maybe be something like
if character = "a"
return "b"
or something like that- I know that that's not right but that is the sort of thing I am trying to achieve. Any help much appreciated.