|
Java script gurus, I need some help
Hi there,
I am trying to setup a script to do client side form validation for my NATS signup page. I am running into errors which I think are caused by the smarty templates.
This is what I am having problems with:
The form input names look like this:
signup[username:1:6:16:::username_check]
signup[password:1:6:16:::password_check]
I am trying to set those to a variable like this
username=joinform.signup[username:1:6:16:::username_check].value;
password=joinform.signup[password:1:6:16:::password_check].value;
So that when I apply functions to them its a lot easier.
I have no clue as to what my errors are, and what I need to do. Any help is appreciated. Anyone who helps can get a free copy of the script.
|