DO NOT validate anything important with javascript, the user can easily
bypass the javascript by creating his own HTML page or disabling javascript
on his browser. if you *Absouloutly* need to use javascript, check the last
page the browser visited with Javascript or PHP and either allow or deny
ac
You should have posted this to a javascript board, it has nothing to
do with PHP. That said, if the form field name contains special
characters, like [], you can reference it like this:
document.formname.elements['checkbox1[]'].
Use the elements[] reference style.
On Dec 1, 2005, at 12:42 PM
Hi all,
I'm hoping someone can help me with this problem.
I'm using javascript for some client side field validation in a form
(method=post) that gets managed via php.
This particular form makes extensive use of checkboxes. I've always like
how when named properly (field name of "check
3 matches
Mail list logo