Hey All,
When I want to use HTML form items as arrays I call them
<input type=text name=code[] value='<?=$code?>'>
This works fine on the next page I just call
code[1] etc.
However to do a javascript content check (i.e must have a value) I cant use this.
Ill explain better...
if the form text variable was just name=code
then
alert('You entered '+form.code.value)
would print out the correct answer
but
alert('You entered '+form.code[].value)
or
alert('You entered '+form.code[1].value)
just gives me errors
any ideas would be greatly appreciated
Thanks
Al