Replace Characters | JavaScriptSource

Replace Characters

JavaScriptSource Staff Sep 9, 2000
Replaces a character or multiple characters in a textbox when the visitor goes to the next field (or in this example, clicks the submit button).

[ In this example, all "a" characters are changed to "z" ]

The JavaScript Source: Forms: Replace Characters

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

1 comment)

Hello, good day. Thanks for the code. As I add more catacteres?

Edgar Mar 11, 2016